use github secrets token

This commit is contained in:
Andy Miller
2021-01-19 12:28:01 -07:00
parent ac0de93139
commit 2d1bca11df
2 changed files with 3 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ jobs:
extensions: opcache, gd
coverage: none
env:
COMPOSER_TOKEN: ${{ github.token }}
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Dependencies
run: |
@@ -42,7 +42,7 @@ jobs:
id: upload-release-asset
uses: alexellis/upload-assets@0.2.2
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
asset_paths: '["./grav-dist/*.zip"]'

View File

@@ -27,7 +27,7 @@ jobs:
extensions: opcache, gd
coverage: none
env:
COMPOSER_TOKEN: ${{ github.token }}
COMPOSER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update composer
run: composer update