Skip to content

Commit d143c14

Browse files
authored
Create dummy secret.h in build workflow
Add step to create dummy secret.h if it doesn't exist
1 parent 6d6c6b9 commit d143c14

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
- name: Install PlatformIO
3636
run: pip install -U platformio
3737

38+
- name: Create dummy secret.h if missing
39+
run: |
40+
mkdir -p firmware/octoprint/include
41+
touch firmware/octoprint/include/secret.h
42+
3843
- name: Run PlatformIO Build
3944
run: pio run -e ${{ matrix.environment }}
4045
working-directory: firmware/octoprint

0 commit comments

Comments
 (0)