Skip to content

Commit

Permalink
GitHub Action: update Hugo Publish GitHub Pages
Browse files Browse the repository at this point in the history
Use a single job, for simplicity.
  • Loading branch information
booch committed Mar 6, 2024
1 parent 3e28b19 commit 30f50a9
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/hugo-publish-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
wget -O "${{ runner.temp }}/hugo.deb" "$HUGO_DEB_URL" \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
# - name: Install Dart Sass
# run: sudo snap install dart-sass
- name: Install Dart Sass
run: sudo snap install dart-sass

- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -70,13 +70,6 @@ jobs:
with:
path: ./public

hugo-deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: hugo-build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 30f50a9

Please sign in to comment.