From c8d643009d5dae95e0238ad33bd8e68748b4866a Mon Sep 17 00:00:00 2001 From: Sergio Ribera <56278796+SergioRibera@users.noreply.github.com> Date: Sun, 4 Aug 2024 20:53:50 -0400 Subject: [PATCH] ci: fix deploy --- .github/workflows/deploy.yml | 2 +- .github/workflows/pr-preview.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 93c38e4..2fca23c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,7 +39,7 @@ jobs: with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - command: pages deploy ./dist --project-name=rustmap + command: deploy ./dist --project-name=rustmap # secrets: | # YOUR_SECRET # YOUR_OTHER_SECRET diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index 4cd4d18..6c2d8f0 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -71,7 +71,7 @@ jobs: with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - command: pages deploy ./dist --project-name=rustmap --branch "${{ env.BRANCH_NAME }}" + command: deploy ./dist --project-name=rustmap --branch "${{ env.BRANCH_NAME }}" - name: Extract hash from CF url Deploy run: |