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!

add branching deploy condition

Amruth Pillai9a42d684fb52
diff --git a/.github/workflows/digitalocean-deploy.yml b/.github/workflows/digitalocean-deploy.yml
index e07b82488..8760a3ee6 100644
--- a/.github/workflows/digitalocean-deploy.yml
+++ b/.github/workflows/digitalocean-deploy.yml
@@ -10,6 +10,7 @@ on:
jobs:
on-success:
runs-on: ubuntu-latest
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Install DigitalOcean CLI
uses: digitalocean/[email protected]
@@ -21,6 +22,7 @@ jobs:
on-failure:
runs-on: ubuntu-latest
+ if: ${{ github.event.workflow_run.conclusion == 'failure' }}
steps:
- name: Abruptly end the worklfow
run: exit 1