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

View File

@@ -3,6 +3,7 @@ name: github pages
on: on:
push: push:
branches: branches:
- master
- main - main
jobs: jobs:
@@ -28,12 +29,12 @@ jobs:
restore-keys: | restore-keys: |
${{ runner.os }}-yarn- ${{ runner.os }}-yarn-
- run: yarn install --frozen-lockfile - run: cd portal && yarn install --frozen-lockfile
- run: yarn build - run: cd portal && yarn build
- run: yarn export - run: cd portal && yarn export
- name: Deploy - name: Deploy
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
with: with:
github_token: ${{ secrets.PORTAL_NEXT_TOKEN }} github_token: ${{ secrets.PORTAL_NEXT_TOKEN }}
publish_dir: ./out publish_dir: ./portal/out