- commit
- b129185534904c9e7429b0dbb31cb41db2429ab6
- parent
- 507c09ae2a6183bae2d357c8f6b4b5f55ba0a78b
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2025-08-07 09:43
deploy to github pages
Diffstat
| A | .github/workflows/deploy.yml | 28 | ++++++++++++++++++++++++++++ |
1 files changed, 28 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
@@ -0,0 +1,28 @@
-1 1 on:
-1 2 push:
-1 3 branches:
-1 4 - main
-1 5
-1 6 permissions:
-1 7 contents: read
-1 8 pages: write
-1 9 id-token: write
-1 10
-1 11 jobs:
-1 12 build:
-1 13 runs-on: ubuntu-latest
-1 14 steps:
-1 15 - uses: actions/checkout@v4
-1 16 - uses: peaceiris/actions-hugo@v3
-1 17 - run: hugo --baseURL https://xi.github.io/datahorror/
-1 18 - uses: actions/upload-pages-artifact@v3
-1 19 with:
-1 20 path: ./public
-1 21 deploy:
-1 22 environment:
-1 23 name: github-pages
-1 24 url: ${{ steps.deployment.outputs.page_url }}
-1 25 runs-on: ubuntu-latest
-1 26 needs: build
-1 27 steps:
-1 28 - uses: actions/deploy-pages@v4