Merge pull request #6 from naoki1510/develop #12
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 Production | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Deploy to NAS using SSH | |
uses: appleboy/ssh-action@master | |
with: | |
key: ${{secrets.SECRET_KEY}} | |
host: ${{secrets.SSH_HOST}} | |
username: ${{secrets.SSH_USERNAME}} | |
port: ${{secrets.SSH_PORT}} | |
script: | | |
ssh 192.168.0.70 "cd ~/github/pam-quiz && make production_deploy" |