scp-action/.github/workflows/cicd.yml
Workflow config file is invalid. Please check your config file: yaml: line 22: mapping values are not allowed in this context
2022-04-18 13:52:01 -05:00

22 lines
568 B
YAML

name: Super SCP Action
on: [push]
jobs:
scp:
name: SCP Copy
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v1
- name: Copy using key
id: key-job
uses: srueda99/scp-action@v4
with:
port: 22
host: ${{ secrets.SERVER_ADDRESS }}
origin: "./*"
destination: "/home/${{ secrets.SERVER_USERNAME }}/"
username: ${{ secrets.SERVER_USERNAME }}
key: ${{ secrets.SERVER_KEY }}
- name: Last run
run: echo "Last run on ${{ steps.key-job.outputs.time }}"