feat: gitea action runner
All checks were successful
Deploy files / update-stack (push) Successful in 22s

This commit is contained in:
mco-system 2024-11-12 21:58:09 +11:00
parent d9ff5fff76
commit c0c976f02c

View File

@ -23,4 +23,4 @@ jobs:
- name: Respository clone - name: Respository clone
run: git clone http://${{secrets.STACK_UPDATER_USER}}:${{secrets.STACK_UPDATER_TOKEN}}@${{env.SRV_HOST_PORT}}/${{gitea.repository}}.git ./repo run: git clone http://${{secrets.STACK_UPDATER_USER}}:${{secrets.STACK_UPDATER_TOKEN}}@${{env.SRV_HOST_PORT}}/${{gitea.repository}}.git ./repo
- name: Deploy files - name: Deploy files
run: rsync -e "ssh -o StrictHostKeyChecking=accept-new -i .ssh/id_rsa -p ${{secrets.SSH_PORT}} -l ${{secrets.SSH_USER}}" -avzr --delete --exclude=".git/*" --exclude=".gitea/*" ./repo ${{secrets.SSH_HOST}}:/ run: rsync -e "ssh -o StrictHostKeyChecking=accept-new -i .ssh/id_rsa -p ${{secrets.SSH_PORT}} -l ${{secrets.SSH_USER}}" -avzr --delete --exclude=".git/*" --exclude=".gitea/*" ./repo/ ${{secrets.SSH_HOST}}:/