mirror of
https://github.com/suchmememanyskill/CYD-Klipper.git
synced 2026-03-21 05:33:24 +00:00
Try 4
This commit is contained in:
14
.github/workflows/compile.yaml
vendored
14
.github/workflows/compile.yaml
vendored
@@ -30,7 +30,6 @@ jobs:
|
||||
- name: Make output dir
|
||||
run: |
|
||||
mkdir -p output
|
||||
mkdir -p _site
|
||||
|
||||
- name: Build Binary
|
||||
run: |
|
||||
@@ -39,20 +38,13 @@ jobs:
|
||||
cp ./CYD-Klipper-Display/.pio/build/esp32dev/firmware.bin output
|
||||
cp ~/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin output
|
||||
python3 -m esptool --chip esp32 merge_bin -o ./output/merged-firmware.bin --flash_mode dio --flash_freq 40m --flash_size 4MB 0x1000 ./output/bootloader.bin 0x8000 ./output/partitions.bin 0xe000 ./output/boot_app0.bin 0x10000 ./output/firmware.bin
|
||||
|
||||
cp -r ./output ./_site
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: firmware
|
||||
path: ./output
|
||||
|
||||
- name: Make webpage
|
||||
run: |
|
||||
cp -r ./output ./_site
|
||||
python3 generate_manifest.py
|
||||
cp manifest.json ./_site
|
||||
cp manifest_wipe.json ./_site
|
||||
cp index.html ./_site
|
||||
path: ./output
|
||||
|
||||
- name: Upload GitHub Page Artifact
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
|
||||
Reference in New Issue
Block a user