Wait... another pipeline fix (let's not loose hope)
All checks were successful
/ build (push) Successful in 1m44s
/ deploy (push) Successful in 18s
/ notify (push) Successful in 3s

This commit is contained in:
Gu://em_ 2026-04-10 02:07:40 +02:00
parent e4a803aad5
commit 10708f92e7

View file

@ -33,6 +33,12 @@ jobs:
- name: "Build the project"
run: pnpm run build
- name: Save the result for deployment
uses: actions/upload-artifact@v3
with:
name: build-artifact
path: "dist/"
deploy:
needs: build
runs-on: docker
@ -44,10 +50,18 @@ jobs:
else
apt-get update && apt-get install -y rsync openssh-client
fi
- name: Setup SSH
uses: https://github.com/webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Download Artifact
uses: actions/download-artifact@v3
with:
name: build-artifact
path: ./dist
- name: Push
run: |
rsync -avz -e "ssh -p ${{ secrets.SERVER_PORT }} -o StrictHostKeyChecking=no" \