Skip to content

Commit

Permalink
Fix release (#310)
Browse files Browse the repository at this point in the history
* Fix release

* Fix release
  • Loading branch information
sonic16x authored Nov 11, 2024
1 parent 950b98d commit 54395bd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
with:
apiToken: ${{ secrets.CF_AUTH_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: pages deploy ./dist --project-name=${{ secrets.CF_PROJECT_NAME }}
command: pages deploy ./dist --project-name=${{ secrets.CF_PROJECT_NAME }} --branch=main

- name: Purge cache on Cloudflare
uses: jakejarvis/cloudflare-purge-action@v0.3.0
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/update-dictionary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,19 @@ jobs:
- name: NPM install
uses: bahmutov/npm-install@v1

- name: Generate dictionary
- name: Build
run: |
npm run lint
npm run test
npm run generateDictionary
npm run build
- name: Publish to Cloudflare Pages
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_AUTH_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: pages deploy ./dist --project-name=${{ secrets.CF_PROJECT_NAME }}
command: pages deploy ./dist --project-name=${{ secrets.CF_PROJECT_NAME }} --branch=main

- name: Purge cache on Cloudflare
uses: jakejarvis/cloudflare-purge-action@v0.3.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "interslavic",
"version": "1.22.7",
"version": "1.22.8",
"license": "MIT",
"description": "Interslavic Dictionary",
"author": "Sergey Cherebedov",
Expand Down

0 comments on commit 54395bd

Please sign in to comment.