Skip to content

Commit

Permalink
add step for deploying in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
stCarolas committed Feb 4, 2024
1 parent 2ea3d45 commit 2f817da
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,13 @@ jobs:
with:
push: true
tags: ghcr.io/opendonationassistant/oda-widget-page:master

- name: Deploying new version
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USERNAME }}
key: ${{ secrets.SSH_KEY }}
passphrase: ${{ secrets.SSH_PASSPHRASE }}
port: ${{ secrets.PORT }}
script: sh ~/update_widgets.sh ${{ github.RUN_NUMBER }}

0 comments on commit 2f817da

Please sign in to comment.