Skip to content

Commit

Permalink
Removed pages build/deploy from general build/deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
aeroniemi committed May 18, 2024
1 parent b64bb5e commit 4834a18
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/pio-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Cache pip
Expand Down Expand Up @@ -42,29 +41,4 @@ jobs:
with:
name: firmware
path: |
.pio/build/**/*_merged.bin
- run: |
mkdir -p _site/firmware
cp .pio/build/m5knob/firmware_merged.bin _site/firmware/esp32-s3.bin
cp manifest.json _site/firmware/manifest.json
cp static/* _site/
- name: Create GitHub Pages assets
uses: actions/upload-pages-artifact@v3
deploy-pages:
runs-on: ubuntu-latest
needs: build

# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # or specific "vX.X.X" version tag for this action
.pio/build/**/*_merged.bin

0 comments on commit 4834a18

Please sign in to comment.