Skip to content

Commit

Permalink
Merge branch 'main' into update-nov30-23
Browse files Browse the repository at this point in the history
  • Loading branch information
devin-black authored Dec 4, 2023
2 parents 3daef1e + 6c128ee commit e781e57
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 #@v3.1.0
- name: Set .env for functions
run: echo "CENTRIFUGE_SUBGRAPH_URL=https://graph.centrifuge.io/tinlake" > functions/.env
run: echo "CENTRIFUGE_SUBGRAPH_URL=https://api.goldsky.com/api/public/project_clhi43ef5g4rw49zwftsvd2ks/subgraphs/main/prod/gn" > functions/.env
- name: print .env
run: cat functions/.env
- name: Setup Node
Expand All @@ -48,14 +48,17 @@ jobs:
cache: yarn
- name: Install Dependencies
run: yarn install

- name: Build
run: yarn build:functions

- name: Archive functions artifacts
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # @v3.1.2
with:
name: func-dist
retention-days: 4
path: functions/dist

# !dist/**/*.md

deploy-functions:
Expand All @@ -77,6 +80,8 @@ jobs:
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # @v3.0.2
with:
name: func-dist
path: ./web-funciton

- name: debug
run: |
echo "Using GH environment -> ${{ inputs.deploy_env && 'production' || 'gcloud-dev' }} "
Expand All @@ -88,6 +93,7 @@ jobs:
with:
workload_identity_provider: '${{ secrets.GWIP }}'
service_account: '${{ secrets.GSA }}'

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@d51b5346f85640ec2aa2fa057354d2b82c2fcbce # v1.0.1

Expand Down

0 comments on commit e781e57

Please sign in to comment.