mirror of
https://github.com/partofmyid/register.git
synced 2026-06-05 10:36:50 +07:00
author change?
This commit is contained in:
parent
9184877880
commit
3687a8bc3f
1 changed files with 5 additions and 4 deletions
9
.github/workflows/db.yml
vendored
9
.github/workflows/db.yml
vendored
|
|
@ -40,9 +40,10 @@ jobs:
|
||||||
- name: Clone database repository
|
- name: Clone database repository
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/partofmyid/database.git db
|
git clone https://github.com/partofmyid/database.git db
|
||||||
cd db
|
git config --global user.name ${{ secrets.GH_COMMIT_USER }}
|
||||||
git config --global user.name 'github-actions'
|
git config --global user.email ${{ secrets.GH_COMMIT_EMAIL }}
|
||||||
git config --global user.email 'github-actions@github.com'
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
|
||||||
|
|
||||||
- name: Download database artifact
|
- name: Download database artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
|
@ -55,7 +56,7 @@ jobs:
|
||||||
mv artifact/database.json db/database.json -f
|
mv artifact/database.json db/database.json -f
|
||||||
cd db
|
cd db
|
||||||
git add database.json
|
git add database.json
|
||||||
git commit -m 'Update database.json'
|
git commit -m '[automated] update database.json'
|
||||||
git push
|
git push
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue