Skip to content

Commit

Permalink
chore: rename branch to goshujin
Browse files Browse the repository at this point in the history
  • Loading branch information
SharzyL committed Apr 13, 2024
1 parent 97365a8 commit 8e7fbf5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy
on:
push:
branches:
- master
- goshujin

jobs:
deploy:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
matrix:
branch:
- ${{ github.head_ref }}
- "master"
- "goshujin"

permissions:
contents: read
Expand Down Expand Up @@ -49,13 +49,13 @@ jobs:
name: coverage-${{ github.head_ref }}
path: coverage

- name: "Download master coverage artifacts"
- name: "Download goshujin coverage artifacts"
uses: actions/download-artifact@v4
with:
name: coverage-master
path: coverage-master
name: coverage-goshujin
path: coverage-goshujin

- name: "Report Coverage"
uses: davelosert/vitest-coverage-report-action@v2
with:
json-summary-compare-path: coverage-master/coverage-summary.json
json-summary-compare-path: coverage-goshujin/coverage-summary.json
26 changes: 1 addition & 25 deletions scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This is a wrapper script to make it easier to use our pastebin.
**Installation**: download `pb` to your `PATH` and give it execution permission. For example:

```shell
$ wget https://github.com/SharzyL/pastebin-worker/raw/master/scripts/pb
$ wget https://github.com/SharzyL/pastebin-worker/raw/goshujin/scripts/pb
$ install -Dm755 pb ~/.local/bin
```

Expand Down Expand Up @@ -71,27 +71,3 @@ Options:
-v, --verbose display the 'underlying' curl command
-d, --dry do a dry run, executing no 'curl' command at all
```

## `deploy-static.sh`

Deploy html files to Cloudflare KV storage. The map of KV storage key and web page is recorded in `src/staticPages.js`. Usage:

```shell
deploy-static.sh [--preview] [<file-name>...]
```

## `md2html.sh`

Convert markdown to HTML, with a GitHub style CSS. Usage:

```shell
md2html.sh <markdown-file> <html-file> <page-title>
```

## `post-commit`

A git hook that deploy the code after each commit on `master` branch.

## `render.js`

A wrapper to render [LiquidJS](https://liquidjs.com) template file.
2 changes: 1 addition & 1 deletion scripts/pb.fish
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# fish-shell completions for pb
# See: https://github.com/SharzyL/pastebin-worker/tree/master/scripts
# See: https://github.com/SharzyL/pastebin-worker/tree/goshujin/scripts

set -l commands p post u update g get d delete

Expand Down

0 comments on commit 8e7fbf5

Please sign in to comment.