ci: better ci
Release package / release (push) Failing after 32s
Release package / build-and-push (push) Has been skipped

This commit is contained in:
TakahashiNg
2026-03-27 06:37:24 +00:00
parent 1c9b076316
commit e448d5ebaf
+12
View File
@@ -17,6 +17,15 @@ jobs:
outputs: outputs:
new_version: ${{ steps.set_output.outputs.version }} new_version: ${{ steps.set_output.outputs.version }}
steps: steps:
- name: Setup SSH Key
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -p 222 -t ed25519 172.22.0.1 >> ~/.ssh/known_hosts
- uses: actions/checkout@v6 - uses: actions/checkout@v6
with: with:
fetch-depth: 0 fetch-depth: 0
@@ -69,9 +78,12 @@ jobs:
git config --global user.name "gitea-actions" git config --global user.name "gitea-actions"
git config --global user.email "actions-user@noreply.git.demonkernel.io.vn" git config --global user.email "actions-user@noreply.git.demonkernel.io.vn"
git remote set-url origin ssh://git@172.22.0.1:222/FoodSurf/backend.git
git rm -r --cached . git rm -r --cached .
git add . git add .
git commit -m "chore: release [ci skip]" git commit -m "chore: release [ci skip]"
git push git push
fi fi