Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ElyaConrad committed Apr 14, 2024
1 parent f4811a0 commit 8166a41
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion zoompinch-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "zoompinch",
"private": false,
"version": "0.0.14",
"version": "0.0.15",
"type": "module",
"files": [
"package.json",
Expand Down

0 comments on commit 8166a41

Please sign in to comment.