Skip to content

Commit 12e124a

Browse files
authored
Merge pull request #214 from MaximeKjaer/uncomment-push
Uncomment CI push of generated files
2 parents 0c93162 + d050bd2 commit 12e124a

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: deploy
33
on:
44
push:
55
tags:
6-
- '*.*.*'
6+
- "*.*.*"
77

88
env:
99
OWNER: scala
@@ -29,13 +29,15 @@ jobs:
2929
run: yarn run github-changes --token ${{ secrets.GITHUB_TOKEN }} --owner $OWNER --repository $REPOSITORY --branch $RELEASE_BRANCH --no-merges --title "Scala Syntax (official) Changelog"
3030
- run: yarn build
3131
- run: yarn test
32-
# - name: Commit generated files
33-
# run: |
34-
# git config --global user.name "Scala bot"
35-
# git config --global user.email "$GITHUB_RUN_NUMBER@$GITHUB_SHA"
36-
# git commit -am "Release ${GITHUB_REF#refs/*/}"
37-
# git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
38-
# git push origin HEAD:$RELEASE_BRANCH
32+
33+
# Comment this out if it causes problems...
34+
- name: Commit generated files
35+
run: |
36+
git config --global user.name "Scala bot"
37+
git config --global user.email "$GITHUB_RUN_NUMBER@$GITHUB_SHA"
38+
git commit -am "Release ${GITHUB_REF#refs/*/}"
39+
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
40+
git push origin HEAD:$RELEASE_BRANCH
3941
4042
- name: Release extension
4143
run: yarn vscode:publish --pat ${{ secrets.VS_MARKETPLACE_TOKEN }}

0 commit comments

Comments
 (0)