-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
78ee3a8
commit 80e4b3b
Showing
2 changed files
with
24 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: DeployFrontendCloudflarePagesDev | ||
|
||
jobs: | ||
deploy-frontend-dev: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2.3.3 | ||
|
||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: "20" | ||
|
||
- name: Install dependencies and Build the project | ||
run: | | ||
yarn install | ||
yarn build | ||
- name: Deploy to Cloudflare Pages | ||
uses: cloudflare/pages-action@v1 | ||
run: | | ||
npx wrangler pages deploy dist/ --project-name=canopas-website-dev --branch=main |
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