abbyfour is deploying Gowon #51
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 Gowon | |
run-name: ${{ github.actor }} is deploying Gowon | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
Deploy: | |
runs-on: ubuntu-latest | |
environment: production | |
steps: | |
- name: executing remote ssh commands using ssh key | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.GOWON_HOST_IP }} | |
username: ${{ secrets.GOWON_HOST_USERNAME }} | |
key: ${{ secrets.SSH_KEY }} | |
script: cd ./gowon && /bin/bash ./deploy.sh |