diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index 5da2314aa8c..3f590e2d469 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -208,4 +208,21 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: echo "DEPLOY GH PAGES" + - name: Retrieve npm dependencies + uses: actions/cache@v3 + with: + path: + node_modules + key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} + - name: Retrieve Build Directory + uses: actions/cache@v3 + with: + path: + ./build + key: ${{ runner.os }}-build-${{ hashFiles('package-lock.json') }} + - name: Deploy playground to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./build + full_commit_message: "Build for ${{ github.sha }} ${{ github.event.head_commit.message }}"