Skip to content

Commit

Permalink
Upload Downloads
Browse files Browse the repository at this point in the history
  • Loading branch information
isiko authored Apr 13, 2024
1 parent 77ab251 commit f3f83d8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,30 @@ jobs:
TARGET: ${{ vars.DEPLOY_DIR_WEB }}
SCRIPT_AFTER: echo $RSYNC_STDOUT
REMOTE_PORT: ${{ secrets.DEPLOY_PORT }}
deploy-downloads:
name: Deploy Game Downloads
environment: isiko404.dev Deployment
runs-on: ubuntu-latest
needs: export
steps:
- 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:
SSH_PRIVATE_KEY: ${{ secrets.DEPLOY_KEY }}
SOURCE: ${{ vars.BUILD_DIR_DOWNLOADS }}
REMOTE_HOST: ${{ secrets.DEPLOY_HOST }}
REMOTE_USER: ${{ secrets.DEPLOY_USER }}
TARGET: ${{ vars.DEPLOY_DIR_DOWNLOADS }}
SCRIPT_AFTER: echo $RSYNC_STDOUT
REMOTE_PORT: ${{ secrets.DEPLOY_PORT }}

0 comments on commit f3f83d8

Please sign in to comment.