diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index aed6bd20..214411e2 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -9,8 +9,20 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: enriikke/gatsby-gh-pages-action@v2 + - name: Checkout + uses: actions/checkout@v3 + - name: Install + uses: borales/actions-yarn@v3.0.0 + working-directory: website with: - access-token: ${{ secrets.ACCESS_TOKEN }} - working-dir: 'website' \ No newline at end of file + cmd: install # will run `yarn install` command + - name: Build + uses: borales/actions-yarn@v3.0.0 + working-directory: website + with: + cmd: install # will run `yarn install` command + - name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + github_token: ${{ secrets.ACCESS_TOKEN }} + publish_dir: ./website/dist \ No newline at end of file diff --git a/website/src/components/whats-new.js b/website/src/components/whats-new.js index 29f0a9d2..83dd7663 100644 --- a/website/src/components/whats-new.js +++ b/website/src/components/whats-new.js @@ -18,7 +18,7 @@ function WhatsNew({ updates }) { {updates.slice(0, 3).map((item, idx) => ( - + ))}