mirror of
https://github.com/partofmyid/register.git
synced 2026-06-05 18:46:50 +07:00
fix workflow
This commit is contained in:
parent
11c37cfeb2
commit
ceb5e81a7f
1 changed files with 1 additions and 2 deletions
3
.github/workflows/db.yml
vendored
3
.github/workflows/db.yml
vendored
|
|
@ -42,13 +42,12 @@ jobs:
|
||||||
name: database
|
name: database
|
||||||
path: database.json
|
path: database.json
|
||||||
|
|
||||||
- name: Commit and push database.json to another repository
|
- name: Commit and push database.json to database repository
|
||||||
run: |
|
run: |
|
||||||
git clone https://github.com/partofmyid/database.git db
|
git clone https://github.com/partofmyid/database.git db
|
||||||
cd db
|
cd db
|
||||||
git config --global user.name 'github-actions'
|
git config --global user.name 'github-actions'
|
||||||
git config --global user.email 'github-actions@github.com'
|
git config --global user.email 'github-actions@github.com'
|
||||||
git config --unset-all http.https://github.com/.extraheader
|
|
||||||
mv ../database.json .
|
mv ../database.json .
|
||||||
git add database.json
|
git add database.json
|
||||||
git commit -m 'Update database.json'
|
git commit -m 'Update database.json'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue