Merge pull request #13 from KSET/develop #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to production | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deploy to production | |
runs-on: ubuntu-latest | |
env: | |
SHA: ${{ github.sha }} | |
steps: | |
- name: Deploying to production | |
uses: appleboy/[email protected] | |
with: | |
host: stipe.kset.org | |
username: github_kset-org-2023 | |
port: 2222 | |
key: ${{ secrets.SSH_KEY }} | |
envs: SHA | |
script_stop: true | |
script: | | |
doas /docker/kset-org-2023/deploy.sh |