only enable postgraphile pro if env is present #675
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check Pull Request | |
on: | |
pull_request: | |
branches: "**" | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up fly | |
uses: superfly/flyctl-actions/setup-flyctl@master | |
# (ab)use the development environment until we build on github | |
- name: Build and test | |
run: | | |
flyctl -c fly.staging.toml deploy --remote-only --build-only | |
env: | |
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }} | |