Skip to content

Disable deploy Commit generated files #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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