Skip to content

Commit 892232e

Browse files
authored
chore: added deploy-audit-netlify.yml to master branch (#193)
1 parent d2fff94 commit 892232e

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# .github/workflows/deploy-audit-netlify.yml
2+
#
3+
# Copyright © 2025 Network Pro Strategies (Network Pro™)
4+
# SPDX-License-Identifier: CC-BY-4.0 OR GPL-3.0-or-later
5+
# This file is part of Network Pro
6+
7+
name: Deploy Audit to Netlify
8+
9+
on:
10+
push:
11+
branches:
12+
- audit-netlify
13+
workflow_dispatch: {}
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
deploy:
20+
runs-on: ubuntu-24.04
21+
env:
22+
ENV_MODE: audit
23+
PUBLIC_ENV_MODE: audit
24+
25+
steps:
26+
- uses: actions/checkout@v6
27+
28+
- uses: actions/setup-node@v6
29+
with:
30+
node-version: 22
31+
cache: npm
32+
cache-dependency-path: package-lock.json
33+
34+
- name: Install Dependencies
35+
run: npm ci
36+
37+
- name: Build in Audit Mode
38+
run: npm run build:audit

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ version increments reflecting both user-visible and operational impact.
3232

3333
### Changed
3434

35+
- `.github/workflows/deploy-audit-netlify.yml`: Added `workflow_dispatch` so the audit Netlify deployment can be triggered manually (e.g., when `audit-netlify` is already in sync and no new push occurs).
3536
- `package.json`: Updated `simple-git-hooks` configuration to run `bash scripts/hooks/pre-push.sh` on `pre-push` (alongside the existing `pre-commit` hook).
3637
- Bumped project version to `v1.26.5`.
3738

0 commit comments

Comments
 (0)