Pre-compress text assets during deploy for nginx static serving #34
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 | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| deploy: | |
| # Self-hosted runner registered on bremen2 under the `books` user, | |
| # with label `books`. Pinned so this never lands on wincon's runner | |
| # or any other self-hosted fleet. | |
| runs-on: [self-hosted, books] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Deploy | |
| run: ./scripts/deploy.sh |