mirror of
https://github.com/tcgdex/compiler.git
synced 2025-04-22 10:42:09 +00:00
Update node.js.yml
This commit is contained in:
parent
3d561b400d
commit
a17c1e3171
15
.github/workflows/node.js.yml
vendored
15
.github/workflows/node.js.yml
vendored
@ -23,26 +23,27 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '14.x'
|
node-version: '14.x'
|
||||||
|
|
||||||
- name: Pull submodules
|
- name: Pull Distribution
|
||||||
run: |
|
working-directory: ./db
|
||||||
cd db && git pull
|
run: git pull
|
||||||
cd ../dist && git pull
|
|
||||||
cd ../
|
|
||||||
|
|
||||||
- name: Compile Database
|
- name: Compile Database
|
||||||
run: cd db && yarn && yarn compile && cd ../
|
working-directory: ./db
|
||||||
|
run: git pull && yarn && yarn compile
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
|
working-directory: ./
|
||||||
run: yarn && yarn start && TCGDEX_COMPILER_LANG=fr yarn start
|
run: yarn && yarn start && TCGDEX_COMPILER_LANG=fr yarn start
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload
|
||||||
run: yarn upload
|
run: yarn upload
|
||||||
|
|
||||||
- name: Commit Changes
|
- name: Commit Changes
|
||||||
|
working-directory: ./dist
|
||||||
run: |
|
run: |
|
||||||
git config --local user.email "bot@tcgdex.net"
|
git config --local user.email "bot@tcgdex.net"
|
||||||
git config --local user.name "TCGdex [bot]"
|
git config --local user.name "TCGdex [bot]"
|
||||||
cd dist && git commit -m "Updated Database" -a && cd ../
|
git commit -m "Updated Database" -a
|
||||||
env:
|
env:
|
||||||
UPLOAD_REMOTE: ${{ secrets.UPLOAD_REMOTE }}
|
UPLOAD_REMOTE: ${{ secrets.UPLOAD_REMOTE }}
|
||||||
UPLOAD_DIST: ${{ secrets.UPLOAD_DIST }}
|
UPLOAD_DIST: ${{ secrets.UPLOAD_DIST }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user