17 lines
368 B
YAML
17 lines
368 B
YAML
name: Upload
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
upload:
|
|
name: Upload site
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: Upload
|
|
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 -"
|