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 0b1b621 commit 049cb8dCopy full SHA for 049cb8d
.github/workflows/ci.yml
@@ -93,3 +93,16 @@ jobs:
93
name: screenshots
94
path: ${{ github.workspace }}/tmp/screenshots
95
if-no-files-found: ignore
96
+
97
+ deploy:
98
+ needs: test
99
+ if: github.ref == 'refs/heads/main' && github.event_name == 'push'
100
+ runs-on: ubuntu-latest
101
+ steps:
102
+ - name: Deploy via SSH
103
+ uses: appleboy/ssh-action@v1
104
+ with:
105
+ host: ${{ secrets.DEPLOY_HOST }}
106
+ username: ${{ secrets.DEPLOY_USERNAME }}
107
+ key: ${{ secrets.DEPLOY_KEY }}
108
+ script: /app/scripts/update
0 commit comments