File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44jobs :
55 build :
66 runs-on : ubuntu-20.04
7- environment : ${{ github.ref == 'refs/heads/main' && 'Production' || ' Development' }}
7+ environment : Development
88 env :
99 MONGODB_PASSWORD : ${{ secrets.MONGODB_PASSWORD }}
1010 GOOGLE_API_KEY : ${{ secrets.GOOGLE_API_KEY }}
1919 GIT_REPOSITORY_URL : https://github.com/neu-dsg/dailp-encoding
2020 OAUTH_TOKEN : ${{ secrets.OAUTH_TOKEN }}
2121 RUST_LOG : info
22- TF_STAGE : ${{ github.ref == 'refs/heads/main' && 'prod' || ' dev' }}
22+ TF_STAGE : dev
2323 steps :
2424 - name : Checkout code
2525 uses : actions/checkout@v2
5151 - name : Migrate data to MongoDB
5252 run : |
5353 nix develop --impure --command plan
54- export DAILP_GRAPHQL_URL =$(nix develop --impure --command output functions_url)/graphql
54+ export DAILP_API_URL =$(nix develop --impure --command output functions_url)
5555 nix run .#migrate-data -L
5656 - name : Publish website
5757 run : |
You can’t perform that action at this time.
0 commit comments