Small styling tweaks (#43) #48
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 deep-sea-stories | |
| on: | |
| push: | |
| branches: ["main"] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Deploy | |
| uses: appleboy/[email protected] | |
| with: | |
| host: ${{ secrets.VM_HOST }} | |
| username: ${{ secrets.VM_USERNAME }} | |
| key: ${{ secrets.VM_SSH_KEY }} | |
| script: | | |
| cd ~/examples/deep-sea-stories | |
| git switch main | |
| git pull | |
| umask 077 | |
| cat > .env << 'EOF' | |
| FISHJAM_ID=${{ secrets.FISHJAM_ID }} | |
| FISHJAM_MANAGEMENT_TOKEN=${{ secrets.FISHJAM_MANAGEMENT_TOKEN }} | |
| ELEVENLABS_API_KEY=${{ secrets.ELEVENLABS_API_KEY }} | |
| GEMINI_API_KEY=${{ secrets.GEMINI_API_KEY }} | |
| EOF | |
| docker compose down | |
| docker compose up -d --build |