Skip to content

Commit

Permalink
chore: ammend
Browse files Browse the repository at this point in the history
  • Loading branch information
DinizSa committed Feb 21, 2025
1 parent 6db82ee commit a957045
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/booster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,32 @@ jobs:
- name: Install dependencies
run: npm install

- name: Switch to target branch for data
- name: Git config
run: |
git fetch origin
git checkout -B $BOOST_DATA_BRANCH
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global push.autoSetupRemote true
- name: Boost backers' rewards
run: |
npx tsx .github/scripts/nft_boost/activateBoost.ts \
--boost=${{ github.event.inputs.boost }} \
--nft=${{ github.event.inputs.nft }} \
--env=${{ github.event.inputs.env }}
git add .
git stash push -m "Generated JSON from A"
- name: Commit and push changes
- name: Switch to target branch for data
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global push.autoSetupRemote true
git fetch origin
git checkout -B $BOOST_DATA_BRANCH
git stash apply || echo "No stash to apply"
git checkout --theirs .
- name: Commit and push changes
run: |
# Stage all changes
git add .
Expand Down

0 comments on commit a957045

Please sign in to comment.