Skip to content

Commit

Permalink
[github] try out attest
Browse files Browse the repository at this point in the history
  • Loading branch information
grimreaper committed Jun 6, 2024
1 parent e5c3877 commit 2fe6196
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
attestations: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
Expand Down Expand Up @@ -59,6 +59,11 @@ jobs:
with:
path: ./public

- name: Attest
uses: actions/attest-build-provenance@v1
with:
subject-path: './public'

deploy:
environment:
name: github-pages
Expand Down

0 comments on commit 2fe6196

Please sign in to comment.