Skip to content

Commit

Permalink
Removed archiving step and let the upload action handle taring the file
Browse files Browse the repository at this point in the history
  • Loading branch information
CraftingDragon007 committed Apr 27, 2024
1 parent 88871b3 commit b64bce0
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,10 @@ jobs:
- name: Build Vuepress
run: cd docs && npm install && npm run build && mv src/.vuepress/dist/* ../build

- name: Archive artifact
shell: sh
if: runner.os == 'Linux'
run: |
echo ::group::Archive artifact
tar \
--dereference --hard-dereference \
--directory "./build" \
-cvf "./artifact.tar" \
--exclude=.git \
--exclude=.github \
.
echo ::endgroup::
- name: Upload GitHub Pages artifact
uses: actions/[email protected]
with:
path: ./artifact.tar
path: build

- name: Deploy GitHub Pages site
uses: actions/[email protected]

0 comments on commit b64bce0

Please sign in to comment.