Skip to content

Commit

Permalink
add delete-workflow-runs
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenQy committed Feb 7, 2024
1 parent 28cd0a0 commit cbd5671
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ jobs:
env:
HUGO_VERSION: 0.120.4
steps:
- name: Delete older workflow runs and artifacts
uses: Mattraks/delete-workflow-runs@v2
with:
token: ${{ github.token }}
repository: ${{ github.repository }}
retain_days: 3
keep_minimum_runs: 3
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
Expand Down

0 comments on commit cbd5671

Please sign in to comment.