Skip to content

Commit

Permalink
Merge pull request #178 from nicolasstucki/disable-auto-commit-and-push
Browse files Browse the repository at this point in the history
Disable deploy `Commit generated files`
  • Loading branch information
MaximeKjaer authored Dec 17, 2020
2 parents 6e93417 + 8c31186 commit 8ab092c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
run: npx github-changes --owner $OWNER --repository $REPOSITORY --branch $RELEASE_BRANCH --no-merges --title "Scala Syntax (official) Changelog"
- run: yarn build
- run: yarn test
- name: Commit generated files
run: |
git config --global user.name "Scala bot"
git config --global user.email "$GITHUB_RUN_NUMBER@$GITHUB_SHA"
git commit -am "Release ${GITHUB_REF#refs/*/}"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git push origin HEAD:$RELEASE_BRANCH
# - name: Commit generated files
# run: |
# git config --global user.name "Scala bot"
# git config --global user.email "$GITHUB_RUN_NUMBER@$GITHUB_SHA"
# git commit -am "Release ${GITHUB_REF#refs/*/}"
# git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
# git push origin HEAD:$RELEASE_BRANCH

- name: Release extension
run: yarn vscode:publish --pat ${{ secrets.VS_MARKETPLACE_TOKEN }}
Expand Down

0 comments on commit 8ab092c

Please sign in to comment.