Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix surge preview #6776

Merged
merged 4 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/preview-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@ jobs:
run: bun run build-doc
env:
NODE_OPTIONS: --max_old_space_size=4096
- run: |
zip -r dist.zip dist
- name: upload site artifact
afc163 marked this conversation as resolved.
Show resolved Hide resolved
uses: actions/upload-artifact@v4
with:
name: dist
path: dist.zip
path: dist/
afc163 marked this conversation as resolved.
Show resolved Hide resolved
retention-days: 5
# Upload PR id for next workflow use
- name: Save PR number
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/preview-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ jobs:
workflow: ${{ github.event.workflow_run.workflow_id }}
run_id: ${{ github.event.workflow_run.id }}
name: dist
- run: |
unzip dist.zip
- name: upload surge service
afc163 marked this conversation as resolved.
Show resolved Hide resolved
id: deploy
continue-on-error: true
Expand Down
Loading