diff options
author | 2020-11-24 00:30:22 +0100 | |
---|---|---|
committer | 2020-11-24 00:30:22 +0100 | |
commit | ad84a56bf14f4c491d43f67abb6895c13dfb02e5 (patch) | |
tree | 52d3f88cb388a0e03d28ca111fcf614049d184f6 /deployment.yaml | |
parent | Change seasonalbot to sir-lancebot in test data (diff) |
Restructure Build & Deploy sequence in CI
I've restructured the build & deploy sequence in our GitHub Actions CI
workflow:
- There's now a separate workflow to deploy to our cluster
- The Build workflow has an additional `if` check to ensure we're only
starting the build & deploy sequences for pushes to master
- We now checkout the python-discord/kubernetes repo to fetch the
deployment.yaml file located in there
Diffstat (limited to 'deployment.yaml')
-rw-r--r-- | deployment.yaml | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/deployment.yaml b/deployment.yaml deleted file mode 100644 index b74e42d4..00000000 --- a/deployment.yaml +++ /dev/null @@ -1,23 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: site -spec: - replicas: 1 - selector: - matchLabels: - app: site - template: - metadata: - labels: - app: site - spec: - containers: - - name: site - image: ghcr.io/python-discord/site:latest - imagePullPolicy: Always - ports: - - containerPort: 8000 - envFrom: - - secretRef: - name: site-env |