Skip to content

Commit

Permalink
Fix preview
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Mar 5, 2025
1 parent c9a926f commit 77f2a6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ jobs:
if: success() || failure()
- run: cp -r ./artifact/. .
if: github.ref_name == 'main'
- run: mkdir -p pr && cp -r ./artifact ./pr/${{ github.event.number }}
- run: mkdir -p pr && cp -r ./artifact/. ./pr/${{ github.event.number }}
if: github.event_name != 'push'
- run: mkdir -p branch && cp -r ./artifact ./branch/${{ github.ref_name }}
- run: mkdir -p branch && cp -r ./artifact/. ./branch/${{ github.ref_name }}
if: github.event_name == 'push' && github.ref_name != 'main'
- run: rm -r artifact
- name: Configure git
Expand Down

0 comments on commit 77f2a6f

Please sign in to comment.