From 3454c3eee03d694776d45293004d33ed39fe71ce Mon Sep 17 00:00:00 2001 From: Krzysztof Brylski Date: Thu, 5 Sep 2024 09:35:04 +0200 Subject: [PATCH] #25306 updated readme and cicd --- .github/workflows/cloudflare_worker.yml | 2 +- .github/workflows/pull_requests.yml | 4 ++-- .github/workflows/push.yml | 2 +- README.md | 3 +-- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/cloudflare_worker.yml b/.github/workflows/cloudflare_worker.yml index b17ecc6..2234747 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 ff48c75..b5b8bb8 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -23,7 +23,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 136ac69..6f06747 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ This step is optional and is not necessary if you used flotiq-cli to start the p 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 four example objects to your Flotiq account. @@ -230,4 +230,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/flotiq-gatsby-event-1/issues). -