Merge branch 'main' of https://github.com/datopian/portal.js into update/link
This commit is contained in:
commit
06a84b2dcc
@ -3,6 +3,7 @@ name: github pages
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
|
||||
jobs:
|
||||
@ -28,12 +29,12 @@ jobs:
|
||||
restore-keys: |
|
||||
${{ runner.os }}-yarn-
|
||||
|
||||
- run: yarn install --frozen-lockfile
|
||||
- run: yarn build
|
||||
- run: yarn export
|
||||
- run: cd portal && yarn install --frozen-lockfile
|
||||
- run: cd portal && yarn build
|
||||
- run: cd portal && yarn export
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.PORTAL_NEXT_TOKEN }}
|
||||
publish_dir: ./out
|
||||
publish_dir: ./portal/out
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user