name: Deploy cloud-pc on: workflow_dispatch: inputs: stack: description: "Stack to deploy (leave empty to reconcile all)" required: false push: paths: - '.gitea/workflows/deploy-cloud-pc.yml' - 'cloud-pc/**' schedule: - cron: '0 4 * * *' jobs: deploy: runs-on: cloud-pc steps: - name: Sync repo run: | git config --global --replace-all safe.directory /opt/services git -C /opt/services pull --ff-only - name: Deploy stacks run: /opt/services/scripts/deploy.sh cloud-pc "${{ inputs.stack }}"