ci: update
This commit is contained in:
@@ -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]"
|
||||
|
||||
Reference in New Issue
Block a user