Skip to content

Commit

Permalink
Update build-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Finn-HPI authored Jul 25, 2023
1 parent f18995c commit 858fb9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
./scripts/export.sh ${{ github.event.inputs.path_prefix }}${{ github.event.inputs.scene_folder }}
- name: Move game_info.json and thumbnail
run: |
if [ -f ${{ github.event.inputs.path_prefix }}${{ github.event.inputs.scene_folder }}/game_info.json ]; mv ${{ github.event.inputs.path_prefix }}${{ github.event.inputs.scene_folder }}/game_info.json build/web/game_info.json; fi
if [ -f ${{ github.event.inputs.path_prefix }}${{ github.event.inputs.scene_folder }}/thumbnail.png ]; mv ${{ github.event.inputs.path_prefix }}${{ github.event.inputs.scene_folder }}/thumbnail.png build/web/thumbnail.png; fi
if [ -f ${{ github.event.inputs.path_prefix }}${{ github.event.inputs.scene_folder }}/thumbnail.jpg ]; mv ${{ github.event.inputs.path_prefix }}${{ github.event.inputs.scene_folder }}/thumbnail.jpg build/web/thumbnail.jpg; fi
if [ -f ${{ github.event.inputs.path_prefix }}${{ github.event.inputs.scene_folder }}/game_info.json ]; then mv ${{ github.event.inputs.path_prefix }}${{ github.event.inputs.scene_folder }}/game_info.json build/web/game_info.json; fi
if [ -f ${{ github.event.inputs.path_prefix }}${{ github.event.inputs.scene_folder }}/thumbnail.png ]; then mv ${{ github.event.inputs.path_prefix }}${{ github.event.inputs.scene_folder }}/thumbnail.png build/web/thumbnail.png; fi
if [ -f ${{ github.event.inputs.path_prefix }}${{ github.event.inputs.scene_folder }}/thumbnail.jpg ]; then mv ${{ github.event.inputs.path_prefix }}${{ github.event.inputs.scene_folder }}/thumbnail.jpg build/web/thumbnail.jpg; fi
- name: Upload Artifact
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit 858fb9d

Please sign in to comment.