deploy not waiting for build to complete

This commit is contained in:
ahmza
2024-11-26 01:00:12 +00:00
parent 90ee6f3acb
commit 642103c269
+2 -1
View File
@@ -47,10 +47,11 @@ jobs:
ghcr.io/${{ github.repository_owner }}/blog-ahmza-com:${{ github.event.head_commit.id }} ghcr.io/${{ github.repository_owner }}/blog-ahmza-com:${{ github.event.head_commit.id }}
deployment: deployment:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build
steps: steps:
- name: deploy - name: deploy
uses: appleboy/ssh-actions@v1.2.0 uses: appleboy/ssh-action@v1.2.0
with: with:
host: ${{ secrets.HOST }} host: ${{ secrets.HOST }}
username: ${{ secrets.USER }} username: ${{ secrets.USER }}