mirror of
https://github.com/iptv-org/database.git
synced 2024-11-22 02:44:10 -05:00
Update deploy.yml
This commit is contained in:
parent
e8fe5632af
commit
66b338caee
1 changed files with 11 additions and 4 deletions
15
.github/workflows/deploy.yml
vendored
15
.github/workflows/deploy.yml
vendored
|
@ -8,10 +8,17 @@ jobs:
|
||||||
update:
|
update:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- run: npm install
|
- uses: actions/setup-node@v3
|
||||||
- run: npm run db:export
|
if: ${{ !env.ACT }}
|
||||||
- uses: tibdex/github-app-token@v1
|
with:
|
||||||
|
node-version: 18
|
||||||
|
cache: 'npm'
|
||||||
|
- name: install dependencies
|
||||||
|
run: npm install
|
||||||
|
- name: export data to ./api
|
||||||
|
run: npm run db:export
|
||||||
|
- uses: tibdex/github-app-token@v1.8.2
|
||||||
if: ${{ !env.ACT }}
|
if: ${{ !env.ACT }}
|
||||||
id: create-app-token
|
id: create-app-token
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue