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

Update filedeploy.yml

parent 6eb27ad6
Branches
No related tags found
No related merge requests found
...@@ -35,9 +35,12 @@ jobs: ...@@ -35,9 +35,12 @@ jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: deathbyhamster.com environment: deathbyhamster.com
needs: build
steps: steps:
- name: Install SSH Key - name: Install SSH Key
uses: shimataro/ssh-key-action@v2 uses: shimataro/ssh-key-action@v2
with: with:
key: ${{ secrets.SSH_TOKEN }} key: ${{ secrets.SSH_TOKEN }}
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }} known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }}
- name: Deploy with rsync
run: rsync -avz ./build/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.SSH_DIR }}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment