From 1e1b07f4cea0079948b4d67a317318e85bea5521 Mon Sep 17 00:00:00 2001 From: Krzysztof Brylski Date: Thu, 5 Sep 2024 09:17:42 +0200 Subject: [PATCH 1/2] #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 e1ae47c..f6a5fd9 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..25fe493 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..c0534a1 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..a669008 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). - From 68223a3f5a9f01c21b5a774d770cf63e7ec68c28 Mon Sep 17 00:00:00 2001 From: Krzysztof Brylski Date: Thu, 5 Sep 2024 09:37:06 +0200 Subject: [PATCH 2/2] #25306 updated readme and cicd --- .github/workflows/cloudflare_worker.yml | 2 +- .github/workflows/pull_requests.yml | 2 +- .github/workflows/push.yml | 2 +- README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cloudflare_worker.yml b/.github/workflows/cloudflare_worker.yml index f6a5fd9..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 ./flotiq $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 25fe493..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 ./flotiq ${{ secrets.GATSBY_FLOTIQ_API_KEY }} + - run: flotiq import .flotiq ${{ secrets.GATSBY_FLOTIQ_API_KEY }} - run: yarn install - run: gatsby build env: diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index c0534a1..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 ./flotiq ${{ 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 a669008..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 ./flotiq [flotiqApiKey] + flotiq import .flotiq [flotiqApiKey] ``` It will add one example object to your Flotiq account.