Update deploy.yml

This commit is contained in:
freearhey 2023-10-07 05:30:55 +03:00
parent e8fe5632af
commit 66b338caee

View file

@ -8,10 +8,17 @@ jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- run: npm run db:export
- uses: tibdex/github-app-token@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
if: ${{ !env.ACT }}
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 }}
id: create-app-token
with: