-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
name: Build and Publish | ||
runs-on: ubuntu-latest | ||
env: | ||
TOKEN: ${{ secrets.LOVEHOLIDAYS_BUILD_PAT }} | ||
GITHUB_TOKEN: ${{ secrets.LOVEHOLIDAYS_BUILD_PAT }} | ||
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} | ||
steps: | ||
- name: Checkout [main] | ||
|
@@ -58,8 +58,10 @@ jobs: | |
- name: Commit version changes | ||
if: steps.changesets.outputs.HAS_CHANGESETS == 'true' | ||
run: | | ||
git config --global user.name "build-loveholidays" && git config --global user.email "[email protected]" | ||
git diff && git add . | ||
git config user.name $GITHUB_ACTOR | ||
git config user.email gh-actions-${GITHUB_ACTOR}@github.com | ||
git remote add gh-origin https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | ||
git git add . | ||
git commit -m "Update package versions" | ||
git push origin main | ||
|