Skip to content

Run prettier

Run prettier #555

name: DeployFrontendCloudflarePagesDev
on: push
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: |
cd nuxt-frontend
yarn install && yarn build
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: "nuxt-frontend"
command: pages deploy ./dist --project-name=canopas-website-dev --branch=main