Prepare CI and docs for branch rename
And also remove `v4` reference.
This commit is contained in:
parent
1699dd06c3
commit
b7906e26eb
|
@ -18,8 +18,7 @@ on:
|
||||||
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "v4"
|
- "main"
|
||||||
- "master"
|
|
||||||
- "feature/**"
|
- "feature/**"
|
||||||
- "fix/**"
|
- "fix/**"
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -19,8 +19,7 @@ on:
|
||||||
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "v4"
|
- "main"
|
||||||
- "master"
|
|
||||||
- "feature/**"
|
- "feature/**"
|
||||||
- "fix/**"
|
- "fix/**"
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -9,8 +9,7 @@ on:
|
||||||
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "v4"
|
- "main"
|
||||||
- "master"
|
|
||||||
- "feature/**"
|
- "feature/**"
|
||||||
- "fix/**"
|
- "fix/**"
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -14,8 +14,7 @@ on:
|
||||||
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "v4"
|
- "main"
|
||||||
- "master"
|
|
||||||
- "feature/**"
|
- "feature/**"
|
||||||
- "fix/**"
|
- "fix/**"
|
||||||
paths:
|
paths:
|
||||||
|
|
|
@ -5,8 +5,7 @@ on:
|
||||||
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "v4"
|
- "main"
|
||||||
- "master"
|
|
||||||
paths:
|
paths:
|
||||||
- "packages/app/**"
|
- "packages/app/**"
|
||||||
- "packages/core/**"
|
- "packages/core/**"
|
||||||
|
|
|
@ -14,15 +14,15 @@ Windows systems, we suggest you run them via WSL2.
|
||||||
```bash
|
```bash
|
||||||
git clone git@github.com:padloc/padloc.git && \
|
git clone git@github.com:padloc/padloc.git && \
|
||||||
cd padloc && \
|
cd padloc && \
|
||||||
git pull origin/v4 && \
|
git pull origin/main && \
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Build code (replace `beta.padloc.app` with whatever domain you're trying to
|
2. Build code (replace `web.padloc.app` with whatever domain you're trying to
|
||||||
check, if not padloc's production):
|
check, if not padloc's production):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
PL_PWA_URL=https://beta.padloc.app \
|
PL_PWA_URL=https://web.padloc.app \
|
||||||
PL_SERVER_URL=$PL_PWA_URL/server/ \
|
PL_SERVER_URL=$PL_PWA_URL/server/ \
|
||||||
npm run pwa:build
|
npm run pwa:build
|
||||||
```
|
```
|
||||||
|
@ -163,11 +163,11 @@ Windows systems, we suggest you run them via WSL2.
|
||||||
|
|
||||||
## Verify what you're using has the same source code
|
## Verify what you're using has the same source code
|
||||||
|
|
||||||
1. Download a website (replace `beta.padloc.app` with whatever domain you're
|
1. Download a website (replace `web.padloc.app` with whatever domain you're
|
||||||
trying to check), and all the relevant files:
|
trying to check), and all the relevant files:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
HOST_TO_CHECK=beta.padloc.app && \
|
HOST_TO_CHECK=web.padloc.app && \
|
||||||
wget -r -p -U Mozilla https://$HOST_TO_CHECK && \
|
wget -r -p -U Mozilla https://$HOST_TO_CHECK && \
|
||||||
cd $HOST_TO_CHECK && \
|
cd $HOST_TO_CHECK && \
|
||||||
wget https://github.com/padloc/padloc/releases/latest/download/parse-csp.ts && \
|
wget https://github.com/padloc/padloc/releases/latest/download/parse-csp.ts && \
|
||||||
|
|
Loading…
Reference in New Issue