ci: update
Release package / release (push) Failing after 3m37s
Java CI with Maven / build-and-test (push) Successful in 3m55s

This commit is contained in:
TakahashiNg
2026-03-25 07:09:37 +00:00
parent 2bfd7a1364
commit 7faca4e681
+1 -14
View File
@@ -23,19 +23,6 @@ jobs:
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
- name: Install iproute2
run: |
if [ -f /etc/debian_version ]; then
sudo apt-get update && sudo apt-get install -y iproute2
elif [ -f /etc/alpine-release ]; then
apk add --no-network iproute2 || apk add iproute2
fi
- name: Get Host IP
run: |
HOST_IP=$(ip route show | awk '/default/ {print $3}')
echo "HOST_IP=$HOST_IP" >> $GITHUB_ENV
- name: Set up JDK
uses: actions/setup-java@v5
with:
@@ -94,7 +81,7 @@ jobs:
git config --global user.name "gitea-actions"
git config --global user.email "actions-user@noreply.git.demonkernel.io.vn"
git remote set-url origin ssh://git@192.168.62.1:222/FoodSurf/backend.git
git remote set-url origin ssh://git@172.22.0.1:222/FoodSurf/backend.git
git add .
git commit -m "chore: release [ci skip]"