Someone write some documentation for Gitea actions.

This commit is contained in:
Joey Hafner 2024-02-13 10:59:14 -08:00
parent e3776f514c
commit 0b90f55383

View File

@ -9,10 +9,9 @@ jobs:
- name: Pull latest code onto Fighter via SSH
uses: appleboy/ssh-action@master
with:
host: ${{ gitea.SSH_HOST_IP_FIGHTER }} # this is a LAN IP
username: ${{ gitea.SSH_USERNAME_FIGHTER }}
key: ${{ gitea.SSH_KEY_DEPLOY_TO_FIGHTER }}
port: 22
host: ${{ vars.SSH_HOST_IP_FIGHTER }} # this is a LAN IP
username: ${{ vars.SSH_USERNAME_FIGHTER }}
key: ${{ secrets.SSH_KEY_DEPLOY_TO_FIGHTER }}
script: |
cd ~/homelab
git pull