Merge branch 'main' of https://github.com/datopian/portal.js into update/link

This commit is contained in:
Rising Odegua 2021-04-14 12:59:41 +01:00
commit 06a84b2dcc

View File

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