diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 1fe41ed..8e16f4b 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,10 +1,13 @@ -# name: deploy -# on: [push] - -# jobs: -# deploy: -# runs-on: "homesrv01" -# steps: -# - name: Portainer webhook -# run: | -# curl -X POST "${{secrets.PORTAINER_WEBHOOK_URL}}" +on: + push: + schedule: + - cron: '0 4 * * *' +jobs: + deploy-to-homesrv01: + runs-on: "vlan-casa_continous-deploy" + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: docker compose up + run: docker compose up -d --pull always \ No newline at end of file