Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzhizhia committed Jan 5, 2025
1 parent 57e118a commit 50c5101
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-public.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: hugo-public
path: ./public
path: public
retention-days: 1

push_public:
Expand All @@ -69,7 +69,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: hugo-public
path: ./public
path: public

- name: Sync public branch
run: |
Expand All @@ -84,7 +84,7 @@ jobs:
git switch public 2>/dev/null || git switch --orphan public
git rm -rf . 2>/dev/null || true
cp -r ./public/* .
cp -r public/* .
git add -A
if ! git diff --staged --quiet; then
Expand Down

0 comments on commit 50c5101

Please sign in to comment.