mirror of https://github.com/CrimsonTome/tldr.git
ci: allow contents/write
parent
f1c35b53a3
commit
3c01532748
|
@ -3,7 +3,7 @@ name: CI
|
||||||
on: ['push', 'pull_request']
|
on: ['push', 'pull_request']
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read # to fetch code (actions/checkout)
|
contents: write # to upload assets to releases
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
|
@ -52,3 +52,4 @@ jobs:
|
||||||
run: bash scripts/deploy.sh
|
run: bash scripts/deploy.sh
|
||||||
env:
|
env:
|
||||||
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
|
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue