[DOCS] Page Speed criteria update (#1924)
* [CI] Page speed test adjustment Page speed test adjustment to 65, to avoid development build and artifacts upload fails * Update build_and_docs_to_dev.yml --------- Co-authored-by: DigiH <github@digih.net>
This commit is contained in:
1 parent
3a9193497d
commit
369eb0447b
1 file changed
+7
-7
@@ -9,13 +9,13 @@ jobs:
|
|||||||
if: github.repository_owner == '1technophile'
|
if: github.repository_owner == '1technophile'
|
||||||
name: Build and upload Assets to Release
|
name: Build and upload Assets to Release
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4.0.0
|
||||||
- uses: benjlevesque/short-sha@v2.1
|
- uses: benjlevesque/short-sha@v3.0
|
||||||
id: short-sha
|
id: short-sha
|
||||||
with:
|
with:
|
||||||
length: 6
|
length: 6
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v4
|
uses: actions/setup-python@v5.0.0
|
||||||
with:
|
with:
|
||||||
python-version: "3.7"
|
python-version: "3.7"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
@@ -41,9 +41,9 @@ jobs:
|
|||||||
sudo apt install rename
|
sudo apt install rename
|
||||||
./scripts/prepare_deploy.sh
|
./scripts/prepare_deploy.sh
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v4.0.1
|
||||||
with:
|
with:
|
||||||
node-version: "14.x"
|
node-version: "20.x"
|
||||||
- name: Download Common Config
|
- name: Download Common Config
|
||||||
run: |
|
run: |
|
||||||
curl -o docs/.vuepress/public/commonConfig.js https://www.theengs.io/commonConfig.js
|
curl -o docs/.vuepress/public/commonConfig.js https://www.theengs.io/commonConfig.js
|
||||||
@@ -52,7 +52,7 @@ jobs:
|
|||||||
python ./scripts/gen_wu.py --dev
|
python ./scripts/gen_wu.py --dev
|
||||||
npm run docs:build
|
npm run docs:build
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3.9.3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./docs/.vuepress/dist
|
publish_dir: ./docs/.vuepress/dist
|
||||||
@@ -63,5 +63,5 @@ jobs:
|
|||||||
id: psi
|
id: psi
|
||||||
with:
|
with:
|
||||||
url: "https://docs.openmqttgateway.com/dev/"
|
url: "https://docs.openmqttgateway.com/dev/"
|
||||||
threshold: 70
|
threshold: 65
|
||||||
key: ${{ secrets.APIKEY }}
|
key: ${{ secrets.APIKEY }}
|
||||||
Reference in new issue
Block a user