Publish workflow: stop before trying to publish PR
This commit is contained in:
parent
701f61f683
commit
5340aaa951
|
@ -59,6 +59,7 @@ jobs:
|
||||||
cp ../config.html ../index.html
|
cp ../config.html ../index.html
|
||||||
|
|
||||||
- name: Move files of interest to the publish subdir
|
- name: Move files of interest to the publish subdir
|
||||||
|
if: ${{ github.event_name != 'pull_request'}}
|
||||||
run: |
|
run: |
|
||||||
cd ~/.config/doom
|
cd ~/.config/doom
|
||||||
mkdir ./publish
|
mkdir ./publish
|
||||||
|
@ -67,6 +68,7 @@ jobs:
|
||||||
mv ./misc/*.svg ./publish/misc/
|
mv ./misc/*.svg ./publish/misc/
|
||||||
|
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
|
if: ${{ github.event_name != 'pull_request'}}
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
||||||
|
|
Loading…
Reference in New Issue