name: Nextcloud CI/CD on: push: paths: - "stacks/nextcloud/**" - "scripts/deploy-nextcloud.sh" - ".gitea/workflows/nextcloud.yml" workflow_dispatch: permissions: contents: read jobs: nextcloud: name: Deploy Nextcloud runs-on: docker-home-01 steps: - name: Checkout repository uses: actions/checkout@v7 with: persist-credentials: false - name: Deploy Nextcloud if: ${{ gitea.ref == 'refs/heads/main' }} run: | ./scripts/deploy-nextcloud.sh