From 8166a41d1167412d67bdc21cda8aea2d46387392 Mon Sep 17 00:00:00 2001 From: Maurice Conrad Date: Sun, 14 Apr 2024 11:36:54 +0200 Subject: [PATCH] fixed workflow --- .github/workflows/npm-publish.yml | 16 ++++++---------- zoompinch-vue/package.json | 2 +- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 8a61484..86294ff 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -51,13 +51,9 @@ jobs: - name: test installed version run: cat package.json | grep -e '"zoompinch":' working-directory: playground - - name: Publish to Cloudflare Pages - uses: cloudflare/pages-action@v1 - with: - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - projectName: ${{env.CLOUDFLARE_PROJECT_NAME}} - directory: dist - branch: main - workingDirectory: playground - wranglerVersion: '3' + - name: Install wrangler + run: npm install --save-dev wrangler@latest + working-directory: playground + - name: Deploy to Cloudflare Pages + run: npx wrangler pages deploy dist --project-name ${{ env.CLOUDFLARE_PROJECT_NAME }} --branch main + working-directory: playground diff --git a/zoompinch-vue/package.json b/zoompinch-vue/package.json index 19f2082..7a67fcb 100644 --- a/zoompinch-vue/package.json +++ b/zoompinch-vue/package.json @@ -1,7 +1,7 @@ { "name": "zoompinch", "private": false, - "version": "0.0.14", + "version": "0.0.15", "type": "module", "files": [ "package.json",