Skip to content
Snippets Groups Projects
Unverified Commit e108553e authored by Bye's avatar Bye Committed by GitHub
Browse files

Update filedeploy.yml

parent dd8f1565
No related branches found
No related tags found
No related merge requests found
...@@ -27,12 +27,12 @@ jobs: ...@@ -27,12 +27,12 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Minify
uses: devatherock/minify-js@v1.0.3
with: with:
directory: . directory: .
output: build output: build
add_suffix: false add_suffix: false
- name: Install minification dependencies
run: npm i --global terser && pip3 install -r requriements.txt
- name: Install SSH Key - name: Install SSH Key
uses: shimataro/ssh-key-action@v2 uses: shimataro/ssh-key-action@v2
with: with:
...@@ -41,4 +41,4 @@ jobs: ...@@ -41,4 +41,4 @@ jobs:
- name: Adding Known Hosts - name: Adding Known Hosts
run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
- name: Deploy with rsync - name: Deploy with rsync
run: rsync -arvz --delete ../deathbyhamster/ dbh@${{ secrets.SSH_HOST }}:/var/www/dbh_game/ifyouaretypingthisyouareamoron/ run: rsync -arvz --delete build/ dbh@${{ secrets.SSH_HOST }}:/var/www/dbh_game/ifyouaretypingthisyouareamoron/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment