Skip to content

Commit

Permalink
weird deployment system
Browse files Browse the repository at this point in the history
  • Loading branch information
ashduino101 committed Feb 19, 2024
1 parent be1c4dc commit b7c5183
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 79 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: webassetstudio-build
run-name: Build
run-name: Build and deploy
on: [push]
jobs:
build:
Expand All @@ -20,3 +20,12 @@ jobs:
run: npm install
- name: Build web
run: npm run build
- name: Install SSH keys
run: |
install -m 600 -D /dev/null ~/.ssh/id_rsa
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
ssh-keyscan -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts
- name: Deploy to server
run: scp -r dist ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.WORK_DIR }}/ -p ${{ secrets.SSH_PORT }}
- name: Cleanup
run: rm -rf ~/.ssh
8 changes: 0 additions & 8 deletions assetparser/.idea/.gitignore

This file was deleted.

12 changes: 0 additions & 12 deletions assetparser/.idea/assetparser.iml

This file was deleted.

7 changes: 0 additions & 7 deletions assetparser/.idea/discord.xml

This file was deleted.

27 changes: 0 additions & 27 deletions assetparser/.idea/inspectionProfiles/Project_Default.xml

This file was deleted.

6 changes: 0 additions & 6 deletions assetparser/.idea/misc.xml

This file was deleted.

8 changes: 0 additions & 8 deletions assetparser/.idea/modules.xml

This file was deleted.

4 changes: 0 additions & 4 deletions assetparser/.idea/serialmonitor_settings.xml

This file was deleted.

6 changes: 0 additions & 6 deletions assetparser/.idea/vcs.xml

This file was deleted.

0 comments on commit b7c5183

Please sign in to comment.