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: