Skip to content

Commit

Permalink
little changes for README; make gh add assets.
Browse files Browse the repository at this point in the history
  • Loading branch information
privapps committed Mar 13, 2022
1 parent 3d5c498 commit 165f163
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Node.js Build
name: Node.js Tags

on:
push:
branches: [ main ]

tags:
- '**'
jobs:
build:

Expand All @@ -20,8 +20,19 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install -g @angular/cli@13.1.1 && npm ci
- run: ng build --aot --build-optimizer --configuration production --base-href=/notebook/index.html
- run: |
npm install -g @angular/cli@13.1.1 && npm ci
ng build --aot --build-optimizer --configuration production --base-href=/notebook/index.html
cp -R dist/notebook-privapps notebook
cd notebook && sed -i.bak "s|/notebook/index.html|/index.html|g" index.html && rm *.bak
cd ..
tar cjf notebook.tar.gz notebook
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
notebook.tar.gz
- uses: actions/checkout@v2
with:
ref: doc
Expand All @@ -40,4 +51,4 @@ jobs:
git config --local user.email "bot@users.noreply.github.com"
git config --local user.name "bot"
git commit -m "sync with code $(date +'%F')" && \
git push "https://${GITHUB_ACTOR}:${{ github.token }}@github.com/${GITHUB_REPOSITORY}.git" HEAD:doc || echo
git push "https://${GITHUB_ACTOR}:${{ github.token }}@github.com/${GITHUB_REPOSITORY}.git" HEAD:doc || echo
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ See build details at https://github.com/privapps/notebook-docker-nginx-fpm-alpin
## Feedbacks and suggestions
We would love to hear your opinions. Please let us know from [Feedback From](https://public.biaomail.us.to/stdv.php?id=MTQ=)

## Server side / Editable
You can use privatebin as backend. In addition, there is a custom build backend, that you can edit existing notebook, which make it like a wiki / blog. See details at

https://github.com/privapps/notebook-docker-nginx-fpm-alpine-privatebin/

## Developer guide

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.1.1.
Expand Down Expand Up @@ -96,5 +101,3 @@ To accomplish copy the URL and share to other people, some charecter are replace
bitcoin:bc1qmyewq7mh03a3sd5zgvvg3y5sqgm5un3e7eayhq?time=1614371109
```
Thanks for helping the maintainance and further development of the apps. Please stand up to protect privacy, promote the freedom of speach and fight against censorship.


0 comments on commit 165f163

Please sign in to comment.