Skip to content

Commit

Permalink
Workflow Update (#71)
Browse files Browse the repository at this point in the history
* Remove workflow-dispatch for staging/prod envs. Remove references to old 'dev' branch

* PR

* test using this branch as reference

* shared pipeline using main

* return trigger from main

* Renaming workflows
  • Loading branch information
francardoso93 authored Oct 18, 2022
1 parent 03548c7 commit ce0f0d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
name: Build and Deploy Dev
name: Dev | Build And Deploy
on:
push:
branches: [dev]
workflow_dispatch:
env:
REGISTRY: ghcr.io
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
name: Build And Deploy
name: Staging/Prod | Build And Deploy
on:
push:
branches: [main]
workflow_dispatch:
env:
REGISTRY: ghcr.io
jobs: # We need two separate builds as each is going to a different ECR repo
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: PR Build
name: PR | Build
on:
pull_request:
branches:
- main
- dev
jobs:
build:
permissions:
Expand Down

0 comments on commit ce0f0d1

Please sign in to comment.