diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index 174e269..10e1a88 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -21,7 +21,7 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm install -g flotiq-cli - - run: flotiq import . ${{ secrets.FLOTIQ_API_KEY }} + - run: flotiq import .flotiq ${{ secrets.FLOTIQ_API_KEY }} - run: yarn install - run: yarn build env: @@ -41,4 +41,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 c5f7177..0f2bd9a 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -22,9 +22,9 @@ jobs: with: node-version: ${{ matrix.node-version }} - run: npm install -g flotiq-cli - - run: flotiq import . ${{ secrets.FLOTIQ_API_KEY }} + - run: flotiq import .flotiq ${{ secrets.FLOTIQ_API_KEY }} - run: yarn install - run: yarn build env: FLOTIQ_API_KEY: ${{ secrets.FLOTIQ_API_KEY }} - FLOTIQ_API_URL: ${{ secrets.FLOTIQ_API_URL }} \ No newline at end of file + FLOTIQ_API_URL: ${{ secrets.FLOTIQ_API_URL }} diff --git a/README.md b/README.md index 6c5ae03..9ceff24 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Check out live demo: [https://flotiq-nextjs-recipe-2.netlify.app](https://flotiq ```bash npm i -g flotiq-cli cd flotiq-nextjs-recipe-2 - flotiq import . [flotiqApiKey] + flotiq import .flotiq [flotiqApiKey] ``` _Note: You need to put your Read and write API key as the `flotiqApiKey` for import to work, You don't need any content types in your account._