Skip to content

Commit

Permalink
Update build-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kelseasouders authored Mar 27, 2024
1 parent 7df6342 commit 4efcf96
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,17 @@ on:
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:

# Provide permission to clone the repo and deploy it to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build website
build:
if: github.repository_owner != 'HugoBlox'
permissions:
contents: read
pages: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down Expand Up @@ -58,7 +55,10 @@ jobs:

# Deploy website to GitHub Pages hosting
deploy:
if: github.repository_owner != 'HugoBlox'
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 4efcf96

Please sign in to comment.