mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
ci(build): merge ifs for deploy step
This commit is contained in:
parent
36f91ac9c1
commit
b3d70d32ff
1 changed files with 1 additions and 2 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -33,9 +33,8 @@ jobs:
|
|||
# "--parrents where no error if existing, make parent directories as needed."
|
||||
- run: mkdir -p ./build/${{ github.head_ref || github.ref_name }}
|
||||
- name: Deploy to GitHub Pages
|
||||
if: ${{ github.actor != 'dependabot[bot]' }}
|
||||
if: github.repository == 'Stremio/stremio-web' && github.actor != 'dependabot[bot]'
|
||||
uses: peaceiris/actions-gh-pages@v4
|
||||
if: github.repository == 'Stremio/stremio-web'
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./build
|
||||
|
|
|
|||
Loading…
Reference in a new issue