Skip to content

Commit

Permalink
debuggingg g (#24)
Browse files Browse the repository at this point in the history
* debuggingg
g

* playing with permissions

* reverting task

* only changing permissions in the job needed

* permissions needed in two spots
  • Loading branch information
aaronpowell committed Aug 9, 2022
1 parent 6eb968f commit d46ab4e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/build-and-deploy.yml
Expand Up @@ -11,10 +11,6 @@ on:
type: boolean
default: false

permissions:
id-token: write
contents: read

jobs:
build_hugo:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -133,6 +129,10 @@ jobs:
runs-on: ubuntu-latest
environment: production
name: Provision Azure
permissions:
id-token: write
contents: read

steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down Expand Up @@ -163,6 +163,10 @@ jobs:
runs-on: ubuntu-latest
environment: production
name: Deploy SWA
permissions:
id-token: write
contents: read
pull-requests: write
steps:
- name: Azure Login
uses: azure/login@v1
Expand Down

0 comments on commit d46ab4e

Please sign in to comment.