-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7209c15
commit 7777140
Showing
3 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
on: | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
export: | ||
|
@@ -11,7 +9,7 @@ jobs: | |
steps: | ||
- name: checkout | ||
uses: actions/[email protected] | ||
|
||
- name: export game | ||
id: export | ||
uses: firebelley/[email protected] | ||
|
@@ -21,39 +19,39 @@ jobs: | |
relative_project_path: ./src | ||
archive_output: true | ||
cache: true | ||
|
||
- uses: actions/upload-artifact@v4 | ||
name: Upload raw | ||
with: | ||
name: Raw Outputs | ||
path: ${{ steps.export.outputs.build_directory }}/* | ||
if-no-files-found: error | ||
|
||
- uses: actions/upload-artifact@v4 | ||
name: Upload archives | ||
with: | ||
name: Archives | ||
path: ${{ steps.export.outputs.archive_directory }}/* | ||
if-no-files-found: error | ||
|
||
deploy-web: | ||
name: Deploy Web Demo | ||
environment: isiko404.dev Deployment | ||
runs-on: ubuntu-latest | ||
needs: export | ||
steps: | ||
|
||
- uses: actions/download-artifact@v4 | ||
with: | ||
name: Raw Outputs | ||
|
||
- name: Display structure of downloaded files | ||
run: ls -R | ||
- name: Display structure of probably deployable files | ||
run: ls -al ./Web | ||
- name: Display structure of Deployable files | ||
run: ls -al ${{ vars.BUILD_DIR_WEB }} | ||
|
||
- name: Deploy web-demo | ||
uses: easingthemes/ssh-deploy@main | ||
with: | ||
|
@@ -73,14 +71,14 @@ jobs: | |
- uses: actions/download-artifact@v4 | ||
with: | ||
name: Archives | ||
|
||
- name: Display structure of downloaded files | ||
run: ls -R | ||
- name: Display structure of probably deployable files | ||
run: ls -al ./* | ||
- name: Display structure of Deployable files | ||
run: ls -al ${{ vars.BUILD_DIR_DOWNLOADS }} | ||
|
||
- name: Deploy web-demo | ||
uses: easingthemes/ssh-deploy@main | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters