try to remove permissions?

This commit is contained in:
sebastienlorber 2022-07-01 16:13:57 +02:00
parent 68695e2106
commit 1bdff13c31

View file

@ -14,9 +14,6 @@ concurrency:
group: cli-deploy-singleton-group
cancel-in-progress: false
permissions:
contents: read
jobs:
test:
name: Tests
@ -50,9 +47,9 @@ jobs:
# We run twice the same CLI deployment command
# The script has different code for new vs existing remote branch
- name: Test CLI deployment 1 (new branch)
run: GIT_USER=docusaurus-bot USE_SSH=false DEPLOYMENT_BRANCH=ci-deploy-test-branch yarn workspace website deploy --skip-build
run: DEPLOYMENT_BRANCH=ci-deploy-test-branch yarn workspace website deploy --skip-build
- name: Test CLI deployment 2 (existing branch)
run: GIT_USER=docusaurus-bot USE_SSH=false DEPLOYMENT_BRANCH=ci-deploy-test-branch yarn workspace website deploy --skip-build
run: DEPLOYMENT_BRANCH=ci-deploy-test-branch yarn workspace website deploy --skip-build
- name: Cleanup Deployment Git Branch
run: git push origin --delete ci-deploy-test-branch