-
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 904 Bytes
/
build-visuals.yml
File metadata and controls
40 lines (33 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Build Visual Assets
on:
workflow_dispatch:
inputs:
build_deck:
description: 'Build executive briefing deck'
type: boolean
default: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v6
with:
node-version: '20'
- name: Install dependencies
working-directory: workspace
run: npm install
- name: Generate PNG assets
working-directory: workspace
run: node generate-assets.js
- name: Build executive briefing deck
if: ${{ inputs.build_deck }}
working-directory: workspace
run: node build-deck.js
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: visual-assets
path: |
workspace/slides/*.png
workspace/*.pptx