forked from federated-nexus/website
fix action
This commit is contained in:
parent
8b0de515c6
commit
2b8cef9e93
1 changed files with 11 additions and 4 deletions
13
.github/workflows/astro.yml
vendored
13
.github/workflows/astro.yml
vendored
|
|
@ -31,10 +31,17 @@ jobs:
|
|||
- name: Build with Astro
|
||||
run: deno run astro build
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v4
|
||||
- name: Create artifact
|
||||
run: |
|
||||
tar \
|
||||
--dereference --hard-dereference \
|
||||
-cvf "$RUNNER_TEMP/artifact.tar" \
|
||||
-C ./dist .
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: dist
|
||||
name: github-pages
|
||||
path: ${{ runner.temp }}/artifact.tar
|
||||
|
||||
deploy:
|
||||
environment:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue