-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #578 from ali-hosseini-deriv/ako/add-github-actions
ci: use npx to install to refrain installing package on the app
- Loading branch information
Showing
2 changed files
with
2 additions
and
4 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 |
---|---|---|
|
@@ -12,8 +12,7 @@ runs: | |
steps: | ||
- name: Publish to cloudflare pages (production) | ||
run: |- | ||
npm i [email protected] | ||
cd dist | ||
npx wrangler pages deploy . --project-name=deriv-binary-static-pages --branch=main | ||
npx -y wrangler pages deploy . --project-name=deriv-binary-static-pages --branch=main | ||
echo "New website - http://cf-pages-deriv-binary-static.deriv.com" | ||
shell: bash |
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 |
---|---|---|
|
@@ -12,8 +12,7 @@ runs: | |
steps: | ||
- name: Publish to cloudflare pages (staging) | ||
run: |- | ||
npm i [email protected] | ||
cd dist | ||
npx wrangler pages deploy . --project-name=deriv-binary-static-pages --branch=staging | ||
npx -y wrangler pages deploy . --project-name=deriv-binary-static-pages --branch=staging | ||
echo "New staging website - http://staging.cf-pages-deriv-binary-static.deriv.com" | ||
shell: bash |