Skip to content

Commit 0783f7e

Browse files
authored
chore: release prep for v.1.3.10 (#17)
1 parent f7232c0 commit 0783f7e

File tree

5 files changed

+82
-155
lines changed

5 files changed

+82
-155
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 0 additions & 100 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,29 @@
3232
name: Publish to Registries
3333

3434
on:
35-
workflow_run:
36-
workflows: ['Build Site and Deploy to GH Pages']
37-
types:
38-
- completed
35+
release:
36+
types: [created]
37+
workflow_dispatch:
3938

40-
# Use per-job permissions
41-
permissions: {}
39+
permissions:
40+
actions: read
41+
contents: read
42+
packages: write
4243

4344
# Allow one concurrent deployment
4445
concurrency:
4546
group: 'build-and-publish'
4647
cancel-in-progress: true
4748

4849
jobs:
50+
check-codeql:
51+
uses: ./.github/workflows/check-codeql.yml
52+
4953
build:
50-
if: ${{ github.event.workflow_run.conclusion == 'success' }}
54+
needs: check-codeql
5155
runs-on: ubuntu-24.04
5256
env:
5357
ENV_MODE: ci
54-
permissions:
55-
actions: read
56-
contents: read
5758

5859
steps:
5960
- name: Checkout repository
@@ -108,8 +109,6 @@ jobs:
108109
runs-on: ubuntu-24.04
109110
env:
110111
ENV_MODE: ci
111-
permissions:
112-
contents: read
113112

114113
steps:
115114
- name: Download clean source archive
@@ -147,9 +146,6 @@ jobs:
147146
runs-on: ubuntu-24.04
148147
env:
149148
ENV_MODE: ci
150-
permissions:
151-
contents: read
152-
packages: write
153149

154150
steps:
155151
- name: Download clean source archive

netlify.toml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[build]
2+
command = "mkdocs build --clean --site-dir build"
3+
publish = "build"
4+
5+
[[headers]]
6+
for = "/*"
7+
[headers.values]
8+
Content-Security-Policy = """
9+
default-src 'self';
10+
script-src 'self' 'unsafe-inline';
11+
style-src 'self' 'unsafe-inline';
12+
img-src 'self' data:;
13+
connect-src 'self' https://api.github.com;
14+
font-src 'self' data: https://fonts.gstatic.com;
15+
form-action 'self';
16+
base-uri 'self';
17+
object-src 'none';
18+
frame-ancestors 'none';
19+
upgrade-insecure-requests;
20+
report-uri https://csp.netwk.pro/.netlify/functions/csp-report;
21+
report-to csp-endpoint;
22+
"""
23+
Report-To = """
24+
{
25+
"group": "csp-endpoint",
26+
"max_age": 10886400,
27+
"endpoints": [
28+
{ "url": "https://csp.netwk.pro/.netlify/functions/csp-report" }
29+
],
30+
"include_subdomains": true
31+
}
32+
"""
33+
Permissions-Policy = "fullscreen=(self), sync-xhr=(), camera=(), microphone=(), geolocation=(), clipboard-read=(), clipboard-write=(), payment=(), usb=(), hid=(), gamepad=(), serial=(), publickey-credentials-get=(), browsing-topics=()"
34+
X-Content-Type-Options = "nosniff"
35+
Referrer-Policy = "strict-origin-when-cross-origin"
36+
X-Frame-Options = "DENY"
37+
Strict-Transport-Security = "max-age=31536000; includeSubDomains"

package-lock.json

Lines changed: 33 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@networkpro/docs",
3-
"version": "1.3.9",
3+
"version": "1.3.10",
44
"description": "The documentation portal for Network Pro Strategies (Network Pro™)",
55
"keywords": [
66
"android",

0 commit comments

Comments
 (0)