Skip to content

Commit

Permalink
update ga
Browse files Browse the repository at this point in the history
  • Loading branch information
Fajar-Islami committed Jul 1, 2024
1 parent 17a32b4 commit ff796ae
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,24 @@ jobs:
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true

deploy:
name: Deploy app
needs:
- build-image
runs-on: ubuntu-latest
steps:
- name: Deploy using ssh
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
port: 2221
script: |
cd ~/documents/
date >> test.md
cat test.md
# deploy:
# name: Deploy app
# needs:
Expand Down

0 comments on commit ff796ae

Please sign in to comment.