Skip to content

Commit f96d19d

Browse files
committed
feat(release): Add firmware publishing step to GitHub Pages
This update introduces a new step in the vendor release workflow to publish firmware to the fobe-projects GitHub Pages. The step utilizes the peaceiris/actions-gh-pages action to deploy the built firmware to the specified directory. Signed-off-by: Chiho Sin <[email protected]>
1 parent 21a208b commit f96d19d

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/release.vendor.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,17 @@ jobs:
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3232
run: bash ./.github/scripts/on-release.vendor.sh
33+
34+
- name: Publish firmware to fobe-projects.github.io
35+
uses: peaceiris/actions-gh-pages@v4
36+
with:
37+
deploy_key: ${{ secrets.FOBE_ARTIFACT_PAGES_DEPLOY_KEY }}
38+
external_repository: fobe-projects/fobe-projects.github.io
39+
publish_branch: main
40+
publish_dir: ./build
41+
destination_dir: arduino/esp32/${{ github.ref_name }}
42+
keep_files: true
43+
user_name: github-actions[bot]
44+
user_email: github-actions[bot]@users.noreply.github.com
45+
commit_message: arduino/esp32/${{ github.ref_name }}
46+
enable_jekyll: true

0 commit comments

Comments
 (0)