From 6b5ee1865efeea68824aa0efd3aa4f985f7db119 Mon Sep 17 00:00:00 2001 From: Amit Dhamu Date: Sun, 8 Jan 2023 18:20:32 +0000 Subject: [PATCH] Restore github pages action --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4e60c86..df7e4b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -57,9 +57,16 @@ jobs: - name: Build run: yarn build + - name: Package Public Folder + if: github.ref == 'refs/heads/main' + run: yarn predeploy + - name: Deploy if: github.ref == 'refs/heads/main' - run: yarn deploy + uses: JamesIves/github-pages-deploy-action@v4.2.5 + with: + branch: gh-pages + folder: public - name: Create Release if: github.ref == 'refs/heads/main'