aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build-and-deploy.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build-and-deploy.yml')
-rw-r--r--.github/workflows/build-and-deploy.yml57
1 files changed, 0 insertions, 57 deletions
diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml
deleted file mode 100644
index d86a4c1..0000000
--- a/.github/workflows/build-and-deploy.yml
+++ /dev/null
@@ -1,57 +0,0 @@
-name: Build and Deploy Web Flasher
-
-on:
- push:
- branches:
- - master
-
-permissions:
- contents: read
- pages: write
- id-token: write
-
-jobs:
- build:
- runs-on: ubuntu-latest
-
- steps:
- - name: Checkout
- uses: actions/checkout@v4
-
- - name: Install PlatformIO
- run: |
- pip install platformio
-
- - name: Build Firmware
- run: |
- pio run
-
- - name: Copy Firmware Files
- run: |
- mkdir -p deploy
-
- cp web-flasher/index.html deploy/
- cp web-flasher/manifest.json deploy/
-
- cp .pio/build/*/firmware.bin deploy/
- cp .pio/build/*/bootloader.bin deploy/
- cp .pio/build/*/partitions.bin deploy/
-
- - name: Upload Pages Artifact
- uses: actions/upload-pages-artifact@v3
- with:
- path: deploy
-
- deploy:
- needs: build
-
- runs-on: ubuntu-latest
-
- environment:
- name: github-pages
- url: ${{ steps.deployment.outputs.page_url }}
-
- steps:
- - name: Deploy
- id: deployment
- uses: actions/deploy-pages@v4