Skip to content

Commit

Permalink
ci(bot): change steps order
Browse files Browse the repository at this point in the history
  • Loading branch information
wellwelwel committed May 21, 2024
1 parent c0d062c commit 8e7b4bf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/bot_deps-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,18 @@ jobs:
exit 1
fi
- name: 📦 Installing Dependencies
run: cd ${{ env.PACKAGE_PATH }} && npm ci

- name: ⏫ Updating Dependencies
run: cd ${{ env.PACKAGE_PATH }} && npm run update

- name: ⚙️ Configuring Git
run: |
git config --global user.name 'wellwelwel'
git config --global user.email '46850407+wellwelwel@users.noreply.github.com'
git update-index --refresh > /dev/null 2>&1 || true
- name: 📦 Installing Dependencies
run: cd ${{ env.PACKAGE_PATH }} && npm ci

- name: ⏫ Updating Dependencies
run: cd ${{ env.PACKAGE_PATH }} && npm run update

- name: 🔎 Checking for Changes
id: check_changes
run: |
Expand All @@ -77,7 +77,7 @@ jobs:
run: |
git add .
git commit -m "${{ env.TITLE }}"
git push origin HEAD:${{ env.BRANCH }} --force
git push origin HEAD:refs/heads/${{ env.BRANCH }} --force
env:
GITHUB_TOKEN: ${{ secrets.PAT }}

Expand Down

0 comments on commit 8e7b4bf

Please sign in to comment.