initial commit of actions
This commit is contained in:
commit
949ece5785
44660 changed files with 12034344 additions and 0 deletions
18
up9cloud/action-rsync-v1/.github/workflows/main.yml
vendored
Normal file
18
up9cloud/action-rsync-v1/.github/workflows/main.yml
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
name: A job for testing
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Sync
|
||||
id: rsync
|
||||
uses: up9cloud/action-rsync@master
|
||||
env:
|
||||
HOST: ${{secrets.DEPLOY_HOST}}
|
||||
KEY: ${{secrets.DEPLOY_SSH_KEY}}
|
||||
TARGET: /tmp/action-rsync/
|
||||
VERBOSE: true
|
||||
PRE_SCRIPT: "echo I ❤️ this action!\ndate -u --rfc-3339=ns"
|
||||
POST_SCRIPT: "ls -al /tmp/action-rsync && date -u --rfc-3339=ns"
|
||||
Loading…
Add table
Add a link
Reference in a new issue