-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix netlify release action; * Force the siteId; * Cleanup duplicate site-id;
- Loading branch information
1 parent
081aab6
commit 7adc438
Showing
1 changed file
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} |