We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8628b31 commit 370bbe4Copy full SHA for 370bbe4
.github/workflows/build-and-deploy.yaml
@@ -70,15 +70,17 @@ jobs:
70
tags: |
71
${{ secrets.DOCKERHUB_USERNAME }}/sourcedepth.com:latest
72
annotations: ${{ steps.meta.outputs.annotations }}
73
+ update-files:
74
+ name: Update Files on VPS
75
+ needs: build-latest
76
+ uses: ./.github/workflows/update-files.yaml
77
deploy:
78
runs-on: ubuntu-latest
79
name: Deploy to VPS
- needs: build-latest
80
+ needs: update-files
81
steps:
82
- name: Checkout repository
83
uses: actions/checkout@v4
- - name: Update files on VPS
- uses: ./.github/workflows/update-files.yaml
84
- name: Build and restart Docker containers
85
uses: appleboy/ssh-action@v1
86
with:
0 commit comments