Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
- remove `branches` config on `workflow_dispatch` (apparently it's not a thing anymore?)
- set `contents: write` permissions on build job (for `git push` command)
  • Loading branch information
jgarber623 authored Dec 30, 2023
1 parent bfe28ef commit 5625a6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
push:
branches: [production]
workflow_dispatch:
branches: [production]
inputs:
merge-main:
description: Merge main branch
Expand All @@ -22,7 +21,7 @@ jobs:
build:
name: Build
permissions:
contents: read
contents: write
id-token: write
packages: write
needs: ci
Expand Down

0 comments on commit 5625a6d

Please sign in to comment.