We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7dc8bec + beaf5f8 commit 65c7d2bCopy full SHA for 65c7d2b
.github/workflows/auto-publish.yml
@@ -45,11 +45,11 @@ jobs:
45
- uses: actions/download-artifact@v4
46
if: success() || failure()
47
- run: cp -r ./artifact/. .
48
- if: github.ref_name == 'main'
49
- - run: mkdir -p pr && cp -r ./artifact/. ./pr/${{ github.event.number }}
50
- if: github.event_name != 'push'
+ if: github.event_name == 'push' && github.ref_name == 'main'
51
- run: mkdir -p branch && cp -r ./artifact/. ./branch/${{ github.ref_name }}
52
if: github.event_name == 'push' && github.ref_name != 'main'
+ - run: mkdir -p pr && cp -r ./artifact/. ./pr/${{ github.event.number }}
+ if: github.event_name != 'push'
53
- run: rm -r artifact
54
- name: Configure git
55
run: |
0 commit comments