Skip to content

Update 2023-04-05-s3-nextcloud-lightsail.md #222

Update 2023-04-05-s3-nextcloud-lightsail.md

Update 2023-04-05-s3-nextcloud-lightsail.md #222

Workflow file for this run

name: remote ssh command
on: [push]
jobs:
build:
name: Build
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using ssh key
uses: appleboy/ssh-action@master
with:
host: us2-gcp.s.tlo.xyz
username: ze3kr
key: ${{ secrets.KEY }}
fingerprint: SHA256:zuu3EnN+3wGC1H2xb5AtGAcldWvsGMaEUpkJAsDiQWU
script: |-
/usr/bin/git -C /home/ze3kr/sync/GuoZeyu.com reset --hard && /usr/bin/git -C /home/ze3kr/sync/GuoZeyu.com pull