Skip to content

Commit

Permalink
ci: fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
palmcivet committed Aug 19, 2024
1 parent 557b796 commit 0b90c15
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout branch
uses: actions/checkout@v4
Expand All @@ -27,10 +29,11 @@ jobs:
run: pnpm build

- name: Release
continue-on-error: true
uses: softprops/action-gh-release@v2
with:
files: |
/dist/main.js
./dist/main.js
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
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": "adjust-figma-toolbelt",
"version": "1.0.2",
"version": "1.0.5",
"private": true,
"author": "Palm Civet",
"repository": "https://github.com/palmcivet/adjust-figma-toolbelt",
Expand Down
1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import pkg from "./package.json";
const BANNER = `/* eslint-disable */
// ==UserScript==
// @name ${pkg.name}
// @name:zh-CN ${pkg.name}
// @namespace ${pkg.repository}
// @version ${pkg.version}
// @license ${pkg.license}
Expand Down

0 comments on commit 0b90c15

Please sign in to comment.