mirror of https://github.com/AlphaNecron/Void.git
ci: updated ci
This commit is contained in:
parent
46bb3b3b38
commit
b7a81e5345
|
@ -34,9 +34,11 @@ jobs:
|
|||
path: node_modules
|
||||
key: ${{ runner.os }}-node${{ matrix.node }}-${{ hashFiles('**/yarn.lock') }}
|
||||
- name: create config
|
||||
run: echo -e "[core]\ndatabase_url = ${{ secrets.DATABASE_URL }}\n[uploader]\nlength = 6\ndirectory = './uploads'" > config.toml
|
||||
run: echo -e "[uploader]\nlength = 6\ndirectory = './uploads'" > config.toml
|
||||
- name: install deps
|
||||
if: steps.cache-restore.outputs.cache-hit != 'true'
|
||||
run: yarn install
|
||||
- name: build
|
||||
run: yarn build
|
||||
run: yarn build
|
||||
env:
|
||||
DATABASE_URL: ${{ secrets.DATABASE_URL }}
|
Loading…
Reference in New Issue