web_backend/.github/workflows/upload.yaml

17 lines
368 B
YAML
Raw Normal View History

2022-01-20 15:21:35 -08:00
name: Upload
on:
push:
branches:
- master
jobs:
upload:
name: Upload site
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Upload
2022-01-22 09:54:16 -08:00
run: tar -czf - -C www . | sshpass -p ${{secrets.RUSEFI_SSH_PASS}} ssh -o StrictHostKeyChecking=no ${{secrets.RUSEFI_SSH_USER}}@${{secrets.RUSEFI_SSH_SERVER}} "tar -xzf -"