summaryrefslogtreecommitdiff
path: root/.github/workflows/deploy-digitalocean.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/deploy-digitalocean.yml')
-rw-r--r--.github/workflows/deploy-digitalocean.yml30
1 files changed, 0 insertions, 30 deletions
diff --git a/.github/workflows/deploy-digitalocean.yml b/.github/workflows/deploy-digitalocean.yml
deleted file mode 100644
index c97cbdd8..00000000
--- a/.github/workflows/deploy-digitalocean.yml
+++ /dev/null
@@ -1,30 +0,0 @@
-name: deploy-digitalocean
-
-on:
- workflow_dispatch:
-# push:
-# branches: [ main ]
-# paths: kubernetes/*
-
-jobs:
- deploy:
- runs-on: ubuntu-latest
-
- # Steps represent a sequence of tasks that will be executed as part of the job
- steps:
- - name: Checkout repo
- uses: actions/checkout@v2
-
- - name: Install doctl
- uses: digitalocean/action-doctl@v2
- with:
- token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
-
- - name: Setup DigitalOcean kubeconfig
- run: doctl kubernetes cluster kubeconfig save --expiry-seconds 600 bro-cluster
-
- - name: Deploy to DigitalOcean Kubernetes
- run: kubectl apply -f kubernetes/server.yml
-
- - name: Verify deployment
- run: kubectl rollout status --namespace seven-wonders deployment/seven-wonders
bgstack15