Skip to content

Commit f8e9ee7

Browse files
committed
Fix another workflow step
1 parent f3118af commit f8e9ee7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/static-files.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
static:
1313
runs-on: ubuntu-latest
1414
permissions:
15-
contents: read
15+
contents: write
16+
id-token: write # Required for OIDC
1617
steps:
1718
- uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
1819
id: app-token
@@ -40,6 +41,8 @@ jobs:
4041
bundle exec rake utilities:build
4142
bundle exec rake docs:build
4243
bundle exec rake static:dump
44+
- name: Set up git push credentials
45+
run: git remote set-url origin https://x-access-token:${{ steps.app-token.outputs.token }}@github.com/${{ github.repository }}.git
4346
- uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0
4447
with:
4548
commit_message: Generating static files

0 commit comments

Comments
 (0)