Skip to content

Commit 749bf6f

Browse files
authored
solving issues with netlify publish (#73)
1 parent 5a8be21 commit 749bf6f

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/meilisearch.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
jobs:
1111
indexing:
12+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1213
runs-on: ubuntu-latest
1314
name: Meilisearch Indexing
1415
steps:

.github/workflows/netlify.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ jobs:
3737
MEILISEARCH_INDEX_UID: "production"
3838

3939
- name: Deploy to netlify
40-
uses: netlify/actions/cli@master
41-
with:
42-
args: deploy --site gno-docs --prod
40+
run: |
41+
npm install -g netlify-cli
42+
netlify deploy --prod --debug
4343
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4544
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
45+
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

0 commit comments

Comments
 (0)