Skip to content

Commit

Permalink
Test webflasher upload
Browse files Browse the repository at this point in the history
  • Loading branch information
foorschtbar committed Oct 10, 2023
1 parent 36044d0 commit 7f1ff10
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,24 @@ jobs:
file_glob: true
prerelease: ${{ env.prerelease }}

- name: Prepare binaries for web flasher 🚀
run: |
mkdir -p firmware
cp ./*/firmware_*.bin firmware/
- name: Upload binaries to PixelIt.Docs for web flasher 🚀
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.GITHUB_TOKEN }}
with:
source-directory: "firmware"
destination-github-username: "pixelit-project"
destination-repository-name: "PixelIt.Docs"
user-email: bot@pixelit
target-branch: master
target-directory: "src/.vuepress/public/pixelit_flasher/"
commit-message: pushed from $GITHUB_REF via GitHub Actions

deploy-webui-gh-pages:
runs-on: ubuntu-latest
needs: build-webui
Expand Down

0 comments on commit 7f1ff10

Please sign in to comment.