Skip to content

Commit

Permalink
Push to Sandbox when commiting changes for the api specs
Browse files Browse the repository at this point in the history
  • Loading branch information
joerideg committed Sep 3, 2024
1 parent 5d439d0 commit 6b056e2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ on:
push:
branches:
- main
env:
ENVIRONMENT: ${{ github.ref == 'refs/heads/main' && 'Production' || 'Sandbox' }}

jobs:
rdme-openapi:
runs-on: ubuntu-latest
environment: Production
environment: $ENVIRONMENT
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 6b056e2

Please sign in to comment.