Prepare CI and docs for branch rename

And also remove `v4` reference.
This commit is contained in:
Bruno Bernardino 2022-07-19 11:11:37 +01:00
parent 1699dd06c3
commit b7906e26eb
No known key found for this signature in database
GPG Key ID: D1B0A69ADD114ECE
6 changed files with 10 additions and 15 deletions

View File

@ -18,8 +18,7 @@ on:
push:
branches:
- "v4"
- "master"
- "main"
- "feature/**"
- "fix/**"
paths:

View File

@ -19,8 +19,7 @@ on:
push:
branches:
- "v4"
- "master"
- "main"
- "feature/**"
- "fix/**"
paths:

View File

@ -9,8 +9,7 @@ on:
push:
branches:
- "v4"
- "master"
- "main"
- "feature/**"
- "fix/**"
paths:

View File

@ -14,8 +14,7 @@ on:
push:
branches:
- "v4"
- "master"
- "main"
- "feature/**"
- "fix/**"
paths:

View File

@ -5,8 +5,7 @@ on:
push:
branches:
- "v4"
- "master"
- "main"
paths:
- "packages/app/**"
- "packages/core/**"

View File

@ -14,15 +14,15 @@ Windows systems, we suggest you run them via WSL2.
```bash
git clone git@github.com:padloc/padloc.git && \
cd padloc && \
git pull origin/v4 && \
git pull origin/main && \
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):
```bash
PL_PWA_URL=https://beta.padloc.app \
PL_PWA_URL=https://web.padloc.app \
PL_SERVER_URL=$PL_PWA_URL/server/ \
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
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:
```bash
HOST_TO_CHECK=beta.padloc.app && \
HOST_TO_CHECK=web.padloc.app && \
wget -r -p -U Mozilla https://$HOST_TO_CHECK && \
cd $HOST_TO_CHECK && \
wget https://github.com/padloc/padloc/releases/latest/download/parse-csp.ts && \