Artist image, Final local edits #688
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
| # Deploy to github pages | |
| name: Publish to Github pages | |
| on: | |
| push: | |
| branches: | |
| - master # Set branch to deploy html to | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Git checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Hugo | |
| uses: peaceiris/actions-hugo@v3 | |
| with: | |
| hugo-version: '0.145.0' | |
| extended: true | |
| - name: Build hugo site (incl. drafts and future) | |
| env: | |
| HUGO_BASE_URL: ${{ secrets.GHPAGES_BASEURL }} | |
| run: hugo -DF ${HUGO_BASE_URL} | |
| - name: Deploy ./docs to gh-pages branch | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./docs |