Skip to content

Commit

Permalink
chore: move to a flow-based model
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Oct 10, 2023
1 parent 029ec5d commit 689f00a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Pull Request

on:
pull_request:
branches: [main]
branches: [main, develop]
paths-ignore:
- "docs/**"
- "**.md"
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- develop
paths-ignore:
- "docs/**"
- "**.md"
Expand Down Expand Up @@ -94,6 +95,7 @@ jobs:
deploy-to-dev:
runs-on: ubuntu-latest
name: Deploy to TestNet
if: github.ref == 'refs/heads/develop'
environment: Dev
concurrency: "${{ github.workflow }}-dev"
needs:
Expand Down Expand Up @@ -149,8 +151,7 @@ jobs:
name: Deploy to Prod
environment: Prod
concurrency: "${{ github.workflow }}-prod"
needs:
- deploy-to-dev
if: github.ref == 'refs/heads/main'
steps:
- name: Deploy
uses: makerxstudio/shared-config/.github/actions/node-deploy-cdk@main
Expand Down

0 comments on commit 689f00a

Please sign in to comment.