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