diff --git a/.gitea/workflows/vyos-deploy.yaml b/.gitea/workflows/vyos-deploy.yaml index d834e0c3..2d860af6 100644 --- a/.gitea/workflows/vyos-deploy.yaml +++ b/.gitea/workflows/vyos-deploy.yaml @@ -2,8 +2,8 @@ name: SSH and echo to file on: push: - branches: - - main + branches: [ main ] + paths: [ 'homelab/vyos/config.boot' ] jobs: ssh: @@ -16,4 +16,4 @@ jobs: username: vyos key: ${{ secrets.RUNNER_SSH_PRIVATEKEY }} script: | - echo "Hello, world!" >> ~/hello.txt + echo "$(date)" >> ~/hello.txt