Skip to content

Commit

Permalink
chore(infrastructure): Enable CI/CD v2 so its ready to be merged with…
Browse files Browse the repository at this point in the history
… develop
  • Loading branch information
alepefe committed Nov 22, 2024
1 parent 9d27581 commit f807c6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 60 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cicd v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,12 @@ jobs:
name: Set Deployment Environment
needs: [ build-and-test ]
runs-on: ubuntu-latest
# if: ${{ github.event_name == 'workflow_dispatch' || github.ref_name == 'develop' || github.ref_name == 'main' }}
if: ${{ github.event_name == 'workflow_dispatch' || github.ref_name == 'develop' || github.ref_name == 'main' }}
outputs:
env_name: ${{ steps.set_env.outputs.env_name }}
steps:
- id: set_env
run: echo "env_name=develop" >> $GITHUB_OUTPUT
# run: echo "env_name=${{ github.ref_name == 'main' && 'production' || github.ref_name }}" >> $GITHUB_OUTPUT
run: echo "env_name=${{ github.ref_name == 'main' && 'production' || github.ref_name }}" >> $GITHUB_OUTPUT

build_api:
name: build-api
Expand Down
57 changes: 0 additions & 57 deletions .github/workflows/cicd.yml

This file was deleted.

0 comments on commit f807c6a

Please sign in to comment.