Deploy editor to Wiener Kreis 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 editor to Wiener Kreis Server | |
| on: workflow_dispatch | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Execute remote ssh commands using ssh key | |
| uses: appleboy/[email protected] | |
| with: | |
| host: ${{ secrets.HOST_WIENER_KREIS }} | |
| key: ${{ secrets.SSH_KEY }} | |
| username: ${{ secrets.USERNAME }} | |
| # Images are built locally on the server | |
| script: | | |
| cd atag-editor | |
| git checkout wiener-kreis | |
| git pull | |
| docker compose -f docker-compose.prod.yml up --build -d |