Skip to content

Commit

Permalink
chore(ci): build
Browse files Browse the repository at this point in the history
Signed-off-by: Neko Ayaka <neko@ayaka.moe>
  • Loading branch information
nekomeowww committed Dec 3, 2024
1 parent f4f1bc5 commit ad44967
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: docs-${{ matrix.os }}-build
path: docs/.vitepress/dist
name: site-${{ matrix.os }}-build
path: dist
overwrite: true
6 changes: 3 additions & 3 deletions .github/workflows/preview-docs-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
with:
workflow_conclusion: success
run_id: ${{ github.event.workflow_run.id }}
name: docs-ubuntu-latest-build
path: docs-ubuntu-latest-build
name: site-ubuntu-latest-build
path: site-ubuntu-latest-build
allow_forks: true

- name: Install Node.js 22.x
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
id: netlify-ubuntu-latest
timeout-minutes: 10
run: |
UBUNTU_NETLIFY_JSON_OUTPUT=$(netlify deploy --dir docs-ubuntu-latest-build --json)
UBUNTU_NETLIFY_JSON_OUTPUT=$(netlify deploy --dir site-ubuntu-latest-build --json)
echo $UBUNTU_NETLIFY_JSON_OUTPUT
echo "UBUNTU_NETLIFY_JSON_OUTPUT=$(echo $UBUNTU_NETLIFY_JSON_OUTPUT)" >> $GITHUB_ENV
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/production-docs-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,8 @@ jobs:

- name: Push to Netlify
timeout-minutes: 10
working-directory: docs/
run: |
netlify deploy --dir 'docs/.vitepress/dist' --prod --debug
netlify deploy --dir 'dist' --prod --debug
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

0 comments on commit ad44967

Please sign in to comment.