Skip to content

Commit

Permalink
check if flotiq api key exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Niemcewicz committed Mar 28, 2024
1 parent 0ad7d9f commit 8b6fbc9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy_worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Check if Flotiq API key is set
run: [ -z "$GATSBY_FLOTIQ_API_KEY" ] && echo "Flotiq API Key is not set, using a starter one." && GATSBY_FLOTIQ_API_KEY="40accb088d028cb0779d8fc2ea7646e4" || true
- run: npm install -g gatsby-cli
- run: npm install -g flotiq-cli
- run: flotiq import . ${{ secrets.GATSBY_FLOTIQ_API_KEY }}
Expand Down

0 comments on commit 8b6fbc9

Please sign in to comment.