Skip to content

Add deploy args

Add deploy args #545

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 }}
args: 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 'args'