Skip to content

Commit

Permalink
try to remove permissions?
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Jul 1, 2022
1 parent 68695e2 commit 1bdff13
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/tests-cli-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ concurrency:
group: cli-deploy-singleton-group
cancel-in-progress: false

permissions:
contents: read

jobs:
test:
name: Tests
Expand Down Expand Up @@ -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

0 comments on commit 1bdff13

Please sign in to comment.