mirror of
https://github.com/getgrav/grav.git
synced 2026-02-27 17:11:27 +01:00
use github secrets token
This commit is contained in:
4
.github/workflows/build.yaml
vendored
4
.github/workflows/build.yaml
vendored
@@ -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"]'
|
||||
|
||||
|
||||
2
.github/workflows/tests.yaml
vendored
2
.github/workflows/tests.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user