Trigger deploy for new server #3
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 Layout Viewer | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Deploy via SSH | |
| uses: appleboy/ssh-action@v1.1.0 | |
| with: | |
| host: ${{ secrets.DO_LAYOUTS_HOST }} | |
| username: ${{ secrets.DO_LAYOUTS_USER }} | |
| port: ${{ secrets.DO_LAYOUTS_PORT }} | |
| key: ${{ secrets.DO_LAYOUTS_SSH_KEY }} | |
| script: | | |
| /usr/local/bin/deploy-layout-viewer |