-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
8 lines (6 loc) · 828 Bytes
/
Copy pathMakefile
File metadata and controls
8 lines (6 loc) · 828 Bytes
1
2
3
4
5
6
7
8
.PHONY: prod-install prod-deploy prod-status prod-logs prod-restart prod-releases prod-rollback prod-backup prod-mongo-inventory prod-verify-startup prod-uninstall prod-auto-install prod-auto-deploy prod-auto-status prod-auto-remove prod-cloudflare-upgrade
prod-install prod-deploy prod-status prod-logs prod-restart prod-releases prod-rollback prod-backup prod-mongo-inventory prod-verify-startup prod-uninstall prod-auto-install prod-auto-deploy prod-auto-status prod-auto-remove:
@cmd.exe /d /c prod.cmd $(@:prod-%=%)
prod-cloudflare-upgrade:
@winget upgrade --id Cloudflare.cloudflared --exact --source winget --scope machine --accept-package-agreements --accept-source-agreements
@powershell.exe -NoLogo -NoProfile -Command "Restart-Service cloudflared; if ((Get-Service cloudflared).Status -ne 'Running') { exit 1 }"