fix: remove unneeded workflow secret pass

This commit is contained in:
Eli Bosley
2025-04-03 11:28:33 -04:00
parent 60f16bde41
commit 4bb00dd981
2 changed files with 1 additions and 5 deletions

View File

@@ -32,8 +32,6 @@ on:
required: true
CF_ENDPOINT:
required: true
GITHUB_TOKEN:
required: true
jobs:
build-plugin:
name: Build and Deploy Plugin
@@ -141,7 +139,7 @@ jobs:
- name: Upload Release Assets
if: inputs.RELEASE_CREATED == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
run: |
# For each file in release directory
for file in deploy/*; do

View File

@@ -303,7 +303,6 @@ jobs:
CF_SECRET_ACCESS_KEY: ${{ secrets.CF_SECRET_ACCESS_KEY }}
CF_BUCKET_PREVIEW: ${{ secrets.CF_BUCKET_PREVIEW }}
CF_ENDPOINT: ${{ secrets.CF_ENDPOINT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-plugin-production:
if: ${{ needs.release-please.outputs.releases_created == 'true' }}
@@ -326,4 +325,3 @@ jobs:
CF_SECRET_ACCESS_KEY: ${{ secrets.CF_SECRET_ACCESS_KEY }}
CF_BUCKET_PREVIEW: ${{ secrets.CF_BUCKET_PREVIEW }}
CF_ENDPOINT: ${{ secrets.CF_ENDPOINT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}