Skip to content

Commit

Permalink
Merge pull request #1729 from Expensify/andrew-prod-actions
Browse files Browse the repository at this point in the history
Add should deploy to production env variable
  • Loading branch information
tgolen authored Mar 11, 2021
2 parents 4f2aca3 + 8c2bc10 commit fff0c91
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ on:
push:
tags:
- '*'
release:
types: [created]

jobs:
build:
if: github.actor == 'OSBotify'
runs-on: ubuntu-latest
env:
# TODO: Uncomment when we'd like to deploy to production
# SHOULD_DEPLOY_PRODUCTION: ${{ github.event_name == 'release' }}
SHOULD_DEPLOY_PRODUCTION: ${{ false }}
steps:
- uses: actions/checkout@v2

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ on:
push:
tags:
- '*'
release:
types: [created]

jobs:
build:
if: github.actor == 'OSBotify'
runs-on: macos-latest
env:
# TODO: Uncomment when we'd like to deploy to staging
# SHOULD_DEPLOY_PRODUCTION: ${{ github.event_name == 'release' }}
SHOULD_DEPLOY_PRODUCTION: ${{ true }}
steps:
- uses: actions/checkout@v2

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
push:
tags:
- '*'
release:
types: [created]

env:
DEVELOPER_DIR: /Applications/Xcode_12.3.app/Contents/Developer
Expand All @@ -13,6 +15,10 @@ jobs:
build:
if: github.actor == 'OSBotify'
runs-on: macos-latest
env:
# TODO: Uncomment when we'd like to deploy to production
# SHOULD_DEPLOY_PRODUCTION: ${{ github.event_name == 'release' }}
SHOULD_DEPLOY_PRODUCTION: ${{ false }}
steps:
- uses: actions/checkout@v2

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ on:
push:
tags:
- '*'
release:
types: [created]

jobs:
build:
if: github.actor == 'OSBotify'
runs-on: ubuntu-latest
env:
# TODO: Uncomment when we'd like to deploy to staging
# SHOULD_DEPLOY_PRODUCTION: ${{ github.event_name == 'release' }}
SHOULD_DEPLOY_PRODUCTION: ${{ true }}

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit fff0c91

Please sign in to comment.