Skip to content

Commit

Permalink
fix: hugo extended
Browse files Browse the repository at this point in the history
- [x] delete pr-label-checker action, not needed anymore
- [x] update dependabot to group PRs
- [x] use SHAs for github actions instead of tags

Signed-off-by: jmeridth <[email protected]>
  • Loading branch information
jmeridth committed May 17, 2024
1 parent 9d88f6a commit 284cbe4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 28 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ updates:
interval: "daily"
commit-message:
prefix: "chore(deps)"
groups:
dependencies:
applies-to: version-updates
update-types:
- "minor"
- "patch"
7 changes: 4 additions & 3 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,22 @@ jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # tag v4.1.4
with:
submodules: true
fetch-depth: 0

- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # tag v3.0.0
with:
hugo-version: 'latest'
extended: true

- name: Build
run: hugo --minify

- name: Deploy
uses: peaceiris/actions-gh-pages@v4
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # tag v4.0.0
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/pr-label-checker.yaml

This file was deleted.

0 comments on commit 284cbe4

Please sign in to comment.