From 3e337debf8ae7b5dd9d9b6447a9c988c2e7e6af5 Mon Sep 17 00:00:00 2001 From: Renato Lima Date: Fri, 9 Jun 2023 19:07:33 -0300 Subject: [PATCH] Fix website directory --- .github/workflows/website-deploy-test.yml | 3 ++- .github/workflows/website-deploy.yml | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/website-deploy-test.yml b/.github/workflows/website-deploy-test.yml index 9e7b6c8..7ead48d 100644 --- a/.github/workflows/website-deploy-test.yml +++ b/.github/workflows/website-deploy-test.yml @@ -11,13 +11,14 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: website + working-directory: ./website steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: 18 cache: yarn + working-directory: ./website - name: Install dependencies run: yarn install --frozen-lockfile diff --git a/.github/workflows/website-deploy.yml b/.github/workflows/website-deploy.yml index 010df99..eb911c6 100644 --- a/.github/workflows/website-deploy.yml +++ b/.github/workflows/website-deploy.yml @@ -13,13 +13,14 @@ jobs: runs-on: ubuntu-latest defaults: run: - working-directory: website + working-directory: ./website steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: 18 cache: yarn + working-directory: ./website - name: Install dependencies run: yarn install --frozen-lockfile @@ -30,6 +31,7 @@ jobs: # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 + working-directory: ./website with: github_token: ${{ secrets.GITHUB_TOKEN }} # Build output to publish to the `gh-pages` branch: