From 7154a6c1b2df67ee1857a2b23c164c6e5d941638 Mon Sep 17 00:00:00 2001 From: Rising Odegua Date: Wed, 14 Apr 2021 12:20:51 +0100 Subject: [PATCH 1/3] Update gh-page-builder-action.yml --- scripts/gh-page-builder-action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/gh-page-builder-action.yml b/scripts/gh-page-builder-action.yml index 45190f33..a8005f18 100644 --- a/scripts/gh-page-builder-action.yml +++ b/scripts/gh-page-builder-action.yml @@ -3,6 +3,7 @@ name: github pages on: push: branches: + - master - main jobs: @@ -36,4 +37,4 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.PORTAL_NEXT_TOKEN }} - publish_dir: ./out \ No newline at end of file + publish_dir: ./out From bcf28202006ae426eb46cb9338d64f91dd2bb869 Mon Sep 17 00:00:00 2001 From: Rising Odegua Date: Wed, 14 Apr 2021 12:28:03 +0100 Subject: [PATCH 2/3] Update gh-page-builder-action.yml --- scripts/gh-page-builder-action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gh-page-builder-action.yml b/scripts/gh-page-builder-action.yml index a8005f18..82b55c5b 100644 --- a/scripts/gh-page-builder-action.yml +++ b/scripts/gh-page-builder-action.yml @@ -37,4 +37,4 @@ jobs: uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.PORTAL_NEXT_TOKEN }} - publish_dir: ./out + publish_dir: ./portal/out From f4147ac67c491ea333d1ceda4813b48464280abf Mon Sep 17 00:00:00 2001 From: Rising Odegua Date: Wed, 14 Apr 2021 12:37:25 +0100 Subject: [PATCH 3/3] Update gh-page-builder-action.yml --- scripts/gh-page-builder-action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/gh-page-builder-action.yml b/scripts/gh-page-builder-action.yml index 82b55c5b..6371c713 100644 --- a/scripts/gh-page-builder-action.yml +++ b/scripts/gh-page-builder-action.yml @@ -29,9 +29,9 @@ 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