From 2dbbe3920d39a91ecee726c2a2841f547b309746 Mon Sep 17 00:00:00 2001 From: Julie Muzina Date: Wed, 31 Jul 2024 23:05:55 -0400 Subject: [PATCH] push to main deploys dev, release deploys prod --- .github/workflows/dev.yml | 4 ++-- .github/workflows/prod.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index bd11571..48af153 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -2,10 +2,10 @@ name: dev.jmuzina.io on: push: - branches: [ 'dev' ] + branches: + - main workflow_dispatch: - jobs: build-portfolio: name: Build Development portfolio diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index 0fa6f57..a9f577e 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -1,11 +1,11 @@ name: jmuzina.io on: - push: - branches: [ 'main' ] + release: + types: + - published workflow_dispatch: - jobs: build-portfolio: name: Build Production portfolio