Skip to content

Commit

Permalink
fix subgraph deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
soilking committed Jul 26, 2024
1 parent 783dca0 commit ab0155a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/deploy.subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,8 @@ jobs:
- name: Validate environment input
id: check_env
run: |
<<<<<<< HEAD
# Check if the environment is either 'prod' or 'dev' or 'testing'
if [[ "${{ github.event.inputs.environment }}" != "prod" && "${{ github.event.inputs.environment }}" != "dev" && "${{ github.event.inputs.environment }}" != "testing" ]]; then
=======
# Check if the environment is prod/dev/testing/prev
if [[ "${{ github.event.inputs.environment }}" != "prod" && "${{ github.event.inputs.environment }}" != "dev" && "${{ github.event.inputs.environment }}" != "testing" && "${{ github.event.inputs.environment }}" != "prev" ]]; then
>>>>>>> master
echo "Error: Environment must be one of 'prod', 'dev', 'testing'."
exit 1
fi
Expand Down

0 comments on commit ab0155a

Please sign in to comment.