mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-11-05 02:46:56 +03:00
deploy repository if release
This commit is contained in:
parent
c85cf4b131
commit
2299a9c27b
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -325,12 +325,12 @@ jobs:
|
||||
|
||||
# needed otherwise the docs folder is not available
|
||||
- name: Checkout repository
|
||||
if: ${{ !env.IS_RELEASE }}
|
||||
if: ${{ env.IS_RELEASE }}
|
||||
uses: actions/checkout@v1
|
||||
|
||||
# update github pages only if it is a release
|
||||
- name: Deploy Github pages
|
||||
if: ${{ !env.IS_RELEASE }}
|
||||
if: ${{ env.IS_RELEASE }}
|
||||
uses: JamesIves/github-pages-deploy-action@v4.3.3
|
||||
with:
|
||||
branch: gh-pages # The branch the action should deploy to.
|
||||
|
Loading…
Reference in New Issue
Block a user