Skip to content

Commit

Permalink
Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
konsumlamm committed Apr 16, 2024
1 parent 70dca83 commit a5add4c
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/export.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
on:
on:
workflow_dispatch:
push:
branches:
- main

jobs:
export:
Expand All @@ -11,7 +9,7 @@ jobs:
steps:
- name: checkout
uses: actions/[email protected]

- name: export game
id: export
uses: firebelley/[email protected]
Expand All @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit a5add4c

Please sign in to comment.