Skip to content

Commit

Permalink
- add deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann authored Jul 5, 2024
1 parent 7721c88 commit 44b33d1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/build_page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ concurrency:
jobs:
# Build job
build:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -35,3 +38,13 @@ jobs:
- run: docker pull klakegg/hugo:0.68.0
- run: docker run -e HUGO_DESTINATION=public -v $(pwd)/site:/src klakegg/hugo:0.68.0 -d public
- run: ls -l
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'site/public'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 44b33d1

Please sign in to comment.