Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Update permissions of deployment steps in the Release workflow (#1814)

Zack Kridac841725e4de0
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index b6576cdf8..21a6160ad 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -162,7 +162,7 @@ jobs:
-f actor=${{ github.actor }} \
"Deployment - production-api"
env:
- GITHUB_TOKEN: ${{ github.token }}
+ GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
- name: Deploy production frontend
if: inputs.app == 'frontend'
@@ -172,4 +172,4 @@ jobs:
-f actor=${{ github.actor }} \
"Deployment - production-nuxt"
env:
- GITHUB_TOKEN: ${{ github.token }}
+ GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}