Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
hantang committed Mar 15, 2024
1 parent 017e184 commit 811e9d4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Deploy Site

on:
push:
branches:
- "main"
tags:
- "v*"

jobs:
deploy:
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
run: npm install
- name: Build Site
run: npm run build

- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand All @@ -28,8 +27,17 @@ jobs:
release/bookmark_search-*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Archive source code as ZIP
run: zip -r source.zip .

- name: Archive source code as TAR.GZ
run: tar -czf source.tar.gz .

- name: Upload built artifact
uses: actions/upload-artifact@v4
with:
path: release/bookmark_search-*
retention-days: ${{ inputs.retention_days }}
path:
- release/bookmark_search-*
- source.zip
- source.tar.gz
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Search your bookmarks in a more flexible way.

## Versions

- 🎨 Chrome extension: download this project first, then open `chrome://extensions/` in your browser, enable *Developer mode* and then *Load upacked* this project root directory.
- 🎨 Chrome extension: download `zip` file from latest [release](https://github.com/hantang/bookmark-search/releases) and unpacked it, then open `chrome://extensions/` in your browser, enable *Developer mode* and then *Load upacked* the directory.
- Web online version, use this [site link](https://hantang.github.io/bookmark-search).

## Snapshots
Expand Down

0 comments on commit 811e9d4

Please sign in to comment.