fix: bug with width of articles #29
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: Publish | |
| on: | |
| workflow_dispatch: {} | |
| push: | |
| branches: ["master"] | |
| jobs: | |
| github-pages: | |
| name: Github Pages | |
| runs-on: ubuntu-22.04 | |
| permissions: | |
| pages: write | |
| id-token: write | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| steps: | |
| - name: Check out source repository | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - name: Set up Go | |
| uses: darklab8/infra/.github/actions/install-go@master | |
| - name: Install Taskfile | |
| uses: darklab8/infra/.github/actions/install-taskfile@master | |
| - name: Install Templ | |
| uses: darklab8/infra/.github/actions/install-templ@master | |
| - name: build | |
| run: task build | |
| env: | |
| SITE_ROOT: "/blog/" | |
| - uses: actions/upload-pages-artifact@v3 | |
| with: | |
| name: github-pages | |
| path: ./build | |
| - name: Deploy to pages | |
| uses: actions/deploy-pages@v4 | |
| id: deployment |