Skip to content

Write ci/cd for deploy #538

Write ci/cd for deploy

Write ci/cd for deploy #538

name: DeployFrontendCloudflarePagesDev
jobs:
deploy-frontend-dev:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- 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