Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

remove old ci action workflows

Amruth Pillai0eddb7d5a342
diff --git a/.github/workflows/digitalocean-deploy.yml b/.github/workflows/digitalocean-deploy.yml
deleted file mode 100644
index 44a88a964..000000000
--- a/.github/workflows/digitalocean-deploy.yml
+++ /dev/null
@@ -1,28 +0,0 @@
-name: Deploy Latest Version on DigitalOcean
-
-on:
- workflow_run:
- workflows:
- - Build and Push Docker Image
- types:
- - completed
-
-jobs:
- on-success:
- runs-on: ubuntu-latest
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
- steps:
- - name: Install DigitalOcean CLI
- uses: digitalocean/[email protected]
- with:
- token: ${{ secrets.DIGITALOCEAN_TOKEN }}
-
- - name: Create Deployment with Latest Version
- run: doctl apps create-deployment ${{ secrets.DIGITALOCEAN_APP_ID }} --wait --force-rebuild
-
- on-failure:
- runs-on: ubuntu-latest
- if: ${{ github.event.workflow_run.conclusion == 'failure' }}
- steps:
- - name: Abruptly end the worklfow
- run: exit 1
diff --git a/.github/workflows/docker-build-push.yml b/.github/workflows/docker-build-push.yml
deleted file mode 100644
index 8f1d712f5..000000000
--- a/.github/workflows/docker-build-push.yml
+++ /dev/null
@@ -1,61 +0,0 @@
-name: Build and Push Docker Image
-
-on:
- workflow_dispatch:
- release:
- types: [published]
-
-jobs:
- build_matrix:
- name: Build and Push Docker Image
- runs-on: ubuntu-latest
-
- strategy:
- matrix:
- image: [client, server]
- arch: [linux/amd64, linux/arm64]
-
- steps:
- - name: Checkout the repository
- uses: actions/[email protected]
-
- - id: version
- name: App Version
- uses: martinbeentjes/[email protected]
-
- - name: Set up QEMU
- uses: docker/[email protected]
- with:
- platforms: ${{ matrix.arch }}
-
- - id: buildx
- name: Set up Docker Buildx
- uses: docker/[email protected]
-
- - name: Login to Docker Hub
- uses: docker/[email protected]
- with:
- username: ${{ secrets.DOCKER_USERNAME }}
- password: ${{ secrets.DOCKER_PASSWORD }}
-
- - name: Login to GitHub Container Registry
- uses: docker/[email protected]
- with:
- registry: ghcr.io
- username: $GITHUB_REPOSITORY_OWNER
- password: ${{ secrets.GH_TOKEN }}
-
- - name: Build and Push Docker Image
- uses: docker/[email protected]
- with:
- context: .
- push: true
- platforms: ${{ matrix.arch }}
- file: ${{ matrix.image }}/Dockerfile
- build-args: |
- TURBO_TOKEN=${{ secrets.TURBO_TOKEN }}
- tags: |
- amruthpillai/reactive-resume:${{ matrix.image }}-latest
- amruthpillai/reactive-resume:${{ matrix.image }}-${{ steps.version.outputs.current-version }}
- ghcr.io/amruthpillai/reactive-resume:${{ matrix.image }}-latest
- ghcr.io/amruthpillai/reactive-resume:${{ matrix.image }}-${{ steps.version.outputs.current-version }}