Skip to content

Commit

Permalink
Fix netlify release action; (#444)
Browse files Browse the repository at this point in the history
* Fix netlify release action;

* Force the siteId;

* Cleanup duplicate site-id;
  • Loading branch information
stef-coenen authored Dec 6, 2024
1 parent 081aab6 commit 7adc438
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/loginbox-to-netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,19 @@ jobs:

- run: npm run build -w packages/apps/login-app

- name: Publish to Netlify
uses: netlify/actions/cli@master
with:
args: deploy --dir=packages/apps/login-app/dist --prod --filter '@homebase-id/login-app' --build false
- run: 'npm install --global [email protected]'
- run: "netlify deploy --dir=packages/apps/login-app/dist --prod --filter '@homebase-id/login-app' --build false "
env:
NETLIFY_SITE_ID: b63c83a3-1caf-486d-9a2f-4db2de190ee1
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: b63c83a3-1caf-486d-9a2f-4db2de190ee1

# Can't use this one till Netlify pushed a fix:
# https://github.com/netlify/cli/issues/6841

# - name: Publish to Netlify
# uses: netlify/actions/cli@master
# with:
# args: deploy --dir=packages/apps/login-app/dist --prod --filter '@homebase-id/login-app' --build false
# env:
# NETLIFY_SITE_ID: b63c83a3-1caf-486d-9a2f-4db2de190ee1
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}

0 comments on commit 7adc438

Please sign in to comment.