From e417622210489a8db848d5f3264c7dcdff7cd796 Mon Sep 17 00:00:00 2001 From: Phani Pavan Kambhampati <60005847+kphanipavan@users.noreply.github.com> Date: Sat, 27 Jan 2024 07:32:03 +0530 Subject: [PATCH] Enable CD --- .github/workflows/gh-pages.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index f4bf03d..43fce4c 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -99,21 +99,21 @@ jobs: name: production-files path: ./build/web - # deploy: - # name: Deploy - # needs: build - # runs-on: ubuntu-latest - # if: github.ref == 'refs/heads/master' + deploy: + name: Deploy + needs: build + runs-on: ubuntu-latest + if: github.ref == 'refs/heads/master' - # steps: - # - name: Download artifact - # uses: actions/download-artifact@v2.1.1 - # with: - # name: production-files - # path: ./build + steps: + - name: Download artifact + uses: actions/download-artifact@v2.1.1 + with: + name: production-files + path: ./build - # - name: Deploy to gh-pages - # uses: peaceiris/actions-gh-pages@v3.9.3 - # with: - # github_token: ${{ secrets.GITHUB_TOKEN }} - # publish_dir: ./build + - name: Deploy to gh-pages + uses: peaceiris/actions-gh-pages@v3.9.3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./build