Skip to content

Commit

Permalink
another take (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanslo authored Feb 12, 2024
1 parent a9e16f7 commit 8d8affa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/build-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8d8affa

Please sign in to comment.