Skip to content

Update deploy script #548

Update deploy script

Update deploy script #548

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 }}
run: npx wrangler pages deploy ./dist --project-name=canopas-website-dev --branch=main

Check failure on line 26 in .github/workflows/deploy-frontend-dev.yml

View workflow run for this annotation

GitHub Actions / DeployFrontendCloudflarePagesDev

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-frontend-dev.yml (Line: 26, Col: 9): Unexpected value 'run' .github/workflows/deploy-frontend-dev.yml (Line: 21, Col: 9): Required property is missing: uses