aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/jan-systems-website.yml34
1 files changed, 0 insertions, 34 deletions
diff --git a/.github/workflows/jan-systems-website.yml b/.github/workflows/jan-systems-website.yml
deleted file mode 100644
index 023a769..0000000
--- a/.github/workflows/jan-systems-website.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-name: Deploy website to GCP
-
-on:
- push:
- branches:
- - main
-
-env:
- IMAGE: registry.digitalocean.com/jan-systems-registry/jan-systems-website:latest
- DO_DOCKER_LOGIN: ${{ secrets.DO_DOCKER_LOGIN }}
-
-jobs:
- website:
- name: Build and Push
- runs-on: ubuntu-latest
- environment:
- name: production
- url: https://jan.systems
-
- steps:
- - name: Checkout
- uses: actions/checkout@v2
-
- # Login to Digitalocean registry
- - name: Log in to Digitalocean registry
- run: docker login -u ${DO_DOCKER_LOGIN} -p ${DO_DOCKER_LOGIN} registry.digitalocean.com
-
- # Build the Docker image
- - name: Build image
- run: docker build -t ${IMAGE} .
-
- # Push the Docker image to Google Container Registry
- - name: Push image to registry
- run: docker push ${IMAGE}