Skip to content

Commit

Permalink
Update 6-Deploy.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudLigny authored Jan 29, 2025
1 parent 1577132 commit b19f8fc
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions docs/6-Deploy.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
description: "Deploy (publish) your website."
date: 2020-12-19
updated: 2024-01-15
updated: 2025-01-29
alias: documentation/publish
-->
# Deploy
Expand Down Expand Up @@ -122,6 +122,13 @@ on:
branches: [master, main]
workflow_dispatch:

permissions:
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -139,12 +146,6 @@ jobs:
uses: actions/upload-pages-artifact@v3
deploy:
needs: build
permissions:
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit b19f8fc

Please sign in to comment.