Skip to content

Commit c966789

Browse files
committed
ci(github-actions): one last config update uwu
alongside making deploy-updates script executable oops Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.dev>
1 parent fea4e23 commit c966789

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
name: Deployments
22
on:
33
push:
4-
branches: [main]
4+
branches: ["*"]
5+
paths:
6+
- config/caddy/*
7+
- docker/Dockerfile
8+
- scripts/*
9+
- .github/workflows/deploy.yml
510
workflow_dispatch:
611

712
permissions:
@@ -69,9 +74,10 @@ jobs:
6974
platforms: linux/amd64,linux/arm64
7075

7176
production-azure:
72-
name: Dedicated Caddy server on Azure VM
77+
name: Production - Dedicated Caddy server on Azure VM
7378
needs: [docker-builds]
7479
runs-on: ubuntu-latest
80+
if: github.ref == 'refs/heads/main'
7581
environment:
7682
name: production
7783
url: https://proxyparty.recaptime.dev

scripts/deploy-updates

100644100755
File mode changed.

0 commit comments

Comments
 (0)