diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index aa32ea2e..d257ac5f 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -1,3 +1,12 @@ +name: Deploy Hugo site to Pages +on: + push: + branches: ["**"] + workflow_dispatch: +permissions: + contents: read + id-token: write + pages: write concurrency: cancel-in-progress: true group: "pages" @@ -58,12 +67,3 @@ jobs: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v1 -name: Deploy Hugo site to Pages -on: - push: - branches: ["**"] - workflow_dispatch: -permissions: - contents: read - id-token: write - pages: write