Skip to content

Commit

Permalink
Update update_items.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rosenrusinov authored Jan 27, 2023
1 parent 65a9495 commit 175ec5a
Showing 1 changed file with 24 additions and 10 deletions.
34 changes: 24 additions & 10 deletions .github/workflows/update_items.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,28 @@ jobs:
id: date
run: |
echo "builddate=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
add-paths: |
git add assets/db_inputs/wowhead_item_tooltips.csv
git add assets/database/db.bin
git add assets/database/db.json
branch: update_item_db
delete-branch: true
commit-message: 'Update Item DB at ${{ steps.date.outputs.builddate}}'
title: 'Update Item DB at ${{ steps.date.outputs.builddate}}'
body: |
Update Item DB at ${{ steps.date.outputs.builddate}}
- name: Push Updates
continue-on-error: true
run: |
git config user.name github-actions
git config user.email github-actions@github.com
git add assets/db_inputs/wowhead_item_tooltips.csv
git add assets/database/db.bin
git add assets/database/db.json
git commit -am "Update Item DB at ${{ steps.date.outputs.builddate}}"
git push
#- name: Push Updates
# continue-on-error: true
# run: |
# git config user.name github-actions
# git config user.email github-actions@github.com
# git add assets/db_inputs/wowhead_item_tooltips.csv
# git add assets/database/db.bin
# git add assets/database/db.json
# git commit -am "Update Item DB at ${{ steps.date.outputs.builddate}}"
# git push

0 comments on commit 175ec5a

Please sign in to comment.