ssh.yaml.off
All checks were successful
/ Cache-Java-Test (push) Successful in 8s
/ opt_hostedtoolcache (push) Successful in 6s
/ job1 (push) Successful in 8s
/ job3 (push) Has been skipped
/ job2 (push) Successful in 9s
/ hashFiles (push) Successful in 8s
/ go-hashfiles (push) Successful in 24s
All checks were successful
/ Cache-Java-Test (push) Successful in 8s
/ opt_hostedtoolcache (push) Successful in 6s
/ job1 (push) Successful in 8s
/ job3 (push) Has been skipped
/ job2 (push) Successful in 9s
/ hashFiles (push) Successful in 8s
/ go-hashfiles (push) Successful in 24s
This commit is contained in:
18
.github/workflows/ssh.yaml.off
vendored
Normal file
18
.github/workflows/ssh.yaml.off
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
|
jobs:
|
||||||
|
ssh:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
# https://docs.github.com/zh/actions/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container
|
||||||
|
container:
|
||||||
|
image: ghcr.io/appleboy/drone-ssh # https://github.com/appleboy/ssh-action -> https://github.com/appleboy/drone-ssh
|
||||||
|
env:
|
||||||
|
PLUGIN_HOST:
|
||||||
|
PLUGIN_KEY: ${{ secrets.REMOTE_SSH_KEY }}
|
||||||
|
PLUGIN_SCRIPT: |
|
||||||
|
set -x
|
||||||
|
docker compose -f /root/_docker-stacks/renovate/compose.yml pull --quiet
|
||||||
|
docker compose -f /root/_docker-stacks/renovate/compose.yml up -d
|
||||||
|
steps:
|
||||||
|
- run: /bin/drone-ssh
|
Reference in New Issue
Block a user