mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
destination_dir check
This commit is contained in:
parent
46bf7852a2
commit
c72218f969
1 changed files with 1 additions and 3 deletions
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
|
@ -21,11 +21,9 @@ jobs:
|
|||
run: npm run lint
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
env:
|
||||
DESTINATION_DIR: `[[ "${{ github.ref_name }}" != "pages-ci" ]] && echo ${{ github.ref_name }}`
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./build
|
||||
destination_dir: $DESTINATION_DIR
|
||||
destination_dir: ${{ github.ref_name != 'development' && github.ref_name || "") }}
|
||||
keep_files: true
|
||||
allow_empty_commit: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue