Skip to content

Commit 3534cd1

Browse files
committed
ci: Disable blender for now, upload artifacts to github-pages
1 parent f6d017f commit 3534cd1

3 files changed

Lines changed: 37 additions & 17 deletions

File tree

.github/workflows/build_pcbs.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,20 @@ on:
1515
- "*.kicad_pro"
1616
- "kibot.yml"
1717

18+
permissions:
19+
contents: read
20+
pages: write
21+
id-token: write
22+
23+
concurrency:
24+
group: "pages"
25+
cancel-in-progress: true
26+
1827
jobs:
1928
build:
29+
environment:
30+
name: github-pages
31+
url: ${{ steps.deployment.outputs.page_url }}
2032
runs-on: ubuntu-latest
2133
steps:
2234
- uses: actions/checkout@v4
@@ -33,3 +45,11 @@ jobs:
3345
with:
3446
name: output
3547
path: output
48+
49+
- uses: actions/upload-pages-artifact@v3
50+
with:
51+
path: 'output'
52+
53+
- id: deployment
54+
if: github.ref_name == 'main'
55+
uses: actions/deploy-pages@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build_pcb:
11-
uses: xboxoneresearch/ASPECT2-PCB/.github/workflows/build_pcbs.yml@ci/initial
11+
uses: xboxoneresearch/ASPECT2-PCB/.github/workflows/build_pcbs.yml@main
1212

1313
release:
1414
runs-on: ubuntu-latest

kibot.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import:
2525
- file: MacroFab_XYRS
2626
definitions:
2727
_KIBOT_MPN_FIELD: ''
28-
- file: PCB2Blender_2_1
28+
#- file: PCB2Blender_2_1
2929
- file: PCBWay
3030
definitions:
3131
_KIBOT_MANF_DIR: Manufacturers/PCBWay
@@ -39,21 +39,21 @@ preflight:
3939
format: HTML,RPT,JSON,CSV
4040

4141
outputs:
42-
- name: basic_blender_export
43-
comment: 3D view from top/30 deg/bottom (Blender)
44-
type: blender_export
45-
dir: 3D
46-
options:
47-
pcb3d: _PCB2Blender_2_1
48-
outputs:
49-
- type: render
50-
- type: blender
51-
point_of_view:
52-
- view: top
53-
- rotate_x: 30
54-
rotate_z: -20
55-
file_id: _30deg
56-
- view: bottom
42+
#- name: basic_blender_export
43+
# comment: 3D view from top/30 deg/bottom (Blender)
44+
# type: blender_export
45+
# dir: 3D
46+
# options:
47+
# pcb3d: _PCB2Blender_2_1
48+
# outputs:
49+
# - type: render
50+
# - type: blender
51+
# point_of_view:
52+
# - view: top
53+
# - rotate_x: 30
54+
# rotate_z: -20
55+
# file_id: _30deg
56+
# - view: bottom
5757
- name: basic_boardview
5858
comment: Board View export
5959
type: boardview

0 commit comments

Comments
 (0)