diff --git a/.github/workflows/cloudflare_worker.yml b/.github/workflows/cloudflare_worker.yml index e1ae47c..4018dd3 100644 --- a/.github/workflows/cloudflare_worker.yml +++ b/.github/workflows/cloudflare_worker.yml @@ -24,7 +24,7 @@ jobs: else echo "Using user-provided Flotiq API Key. Importing starter data to Flotiq." && echo "GATSBY_FLOTIQ_API_KEY=$GATSBY_FLOTIQ_API_KEY" >> $GITHUB_ENV npm install -g flotiq-cli - flotiq import . $GATSBY_FLOTIQ_API_KEY + flotiq import .flotiq $GATSBY_FLOTIQ_API_KEY fi - run: npm install -g gatsby-cli - run: yarn install diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index b6b7eed..6b4d020 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -21,7 +21,7 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm install -g gatsby-cli - run: npm install -g flotiq-cli - - run: flotiq import . ${{ secrets.GATSBY_FLOTIQ_API_KEY }} + - run: flotiq import .flotiq ${{ secrets.GATSBY_FLOTIQ_API_KEY }} - run: yarn install - run: gatsby build env: @@ -42,4 +42,4 @@ jobs: run: gh pr review --approve "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} - GH_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file + GH_TOKEN: ${{secrets.GITHUB_TOKEN}} diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 924558d..b41af4d 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -20,7 +20,7 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm install -g gatsby-cli - run: npm install -g flotiq-cli - - run: flotiq import . ${{ secrets.GATSBY_FLOTIQ_API_KEY }} + - run: flotiq import .flotiq ${{ secrets.GATSBY_FLOTIQ_API_KEY }} - run: yarn install - run: gatsby build env: diff --git a/README.md b/README.md index 1bebe1d..dd49263 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ This project works on node >=18.0.0, as require Gatsby 5. If you wish to import example data to your account, before running `gatsby develop` run: ```sh - flotiq import . [flotiqApiKey] + flotiq import .flotiq [flotiqApiKey] ``` It will add one example object to your Flotiq account. @@ -192,4 +192,3 @@ Documentation for gatsby starters is [here](https://flotiq.com/docs/Universe/gat If you wish to talk with us about this project, feel free to hop on our [![Discord Chat](https://img.shields.io/discord/682699728454025410.svg)](https://discord.gg/FwXcHnX). If you found a bug, please report it in [issues](https://github.com/flotiq/gatsby-starter-boilerplate/issues). -