Skip to content

Commit

Permalink
Merge pull request #578 from ali-hosseini-deriv/ako/add-github-actions
Browse files Browse the repository at this point in the history
ci: use npx to install to refrain installing package on the app
  • Loading branch information
balakrishna-deriv authored Nov 7, 2023
2 parents e27cc96 + 0e0382e commit fedcd33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/actions/publish_to_pages_production/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 1 addition & 2 deletions .github/actions/publish_to_pages_staging/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fedcd33

Please sign in to comment.