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: 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: