google-labs-jules[bot] commited on
Commit
e4fd267
·
1 Parent(s): fcf3bc7

fix: Add write permissions to deployment workflow

Browse files

This commit adds the `permissions: contents: write` block to the `.github/workflows/deploy.yml` file. This is a critical fix to resolve the "git exit code 128" error that was causing the deployment Action to fail.

By explicitly granting write permissions, the workflow will now be authorized to push the built application to the `gh-pages` branch, allowing the deployment to complete successfully.

Files changed (1) hide show
  1. .github/workflows/deploy.yml +2 -0
.github/workflows/deploy.yml CHANGED
@@ -8,6 +8,8 @@ on:
8
  jobs:
9
  build-and-deploy:
10
  runs-on: ubuntu-latest
 
 
11
 
12
  steps:
13
  - name: Checkout
 
8
  jobs:
9
  build-and-deploy:
10
  runs-on: ubuntu-latest
11
+ permissions:
12
+ contents: write
13
 
14
  steps:
15
  - name: Checkout