mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 20:35:34 +02:00
ci: allow contents/write
This commit is contained in:
parent
f1c35b53a3
commit
3c01532748
1 changed files with 2 additions and 1 deletions
3
.github/workflows/ci.yml
vendored
3
.github/workflows/ci.yml
vendored
|
@ -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…
Add table
Reference in a new issue