diff --git a/.github/workflows/tests-cli-deploy.yml b/.github/workflows/tests-cli-deploy.yml index 45636200345f..d4c5b0cfba7d 100644 --- a/.github/workflows/tests-cli-deploy.yml +++ b/.github/workflows/tests-cli-deploy.yml @@ -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