Merge pull request #110 from fest-snct/develop_saku #63
This file contains hidden or 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 Sakura | |
| on: | |
| push: | |
| branches: | |
| - main # mainブランチにpushしたら実行 | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Deploy via SSH | |
| uses: appleboy/ssh-action@v1.2.0 | |
| with: | |
| host: fest-snct.sakura.ne.jp | |
| username: fest-snct | |
| key: ${{ secrets.SAKURA_SSH_KEY }} | |
| script: | | |
| cd /home/fest-snct/www/2025 | |
| git fetch origin | |
| git merge origin/main |