tools for exporting godot projects via Github Actions
Diffstat (limited to '.github/actions/export-web/action.yml')
| -rw-r--r-- | .github/actions/export-web/action.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/actions/export-web/action.yml b/.github/actions/export-web/action.yml index ecf955c..6e68b00 100644 --- a/.github/actions/export-web/action.yml +++ b/.github/actions/export-web/action.yml @@ -31,7 +31,13 @@ runs: name: web path: build/web + - name: Test git repo + id: is-repo + run: "echo ::set-output name=is-repo::$(git rev-parse --is-inside-work-tree || echo false)" + shell: bash + - name: Deploy + if: steps.is-repo.outputs.is-repo == true uses: JamesIves/github-pages-deploy-action@releases/v4 with: branch: gh-pages |