-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5373671
commit 2fa59aa
Showing
2 changed files
with
17 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,22 @@ | ||
name: Build and Release | ||
on: [push] | ||
jobs: | ||
gh-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout 🛎️ | ||
uses: actions/[email protected] # If you're using actions/checkout@v2 you must set persist-credentials to false in most cases for the deployment to work correctly. | ||
with: | ||
persist-credentials: false | ||
|
||
- name: Deploy 🚀 | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages # The branch the action should deploy to. | ||
FOLDER: configbuilder # The folder the action should deploy. | ||
CLEAN: true # Automatically remove deleted files from the deploy branch | ||
|
||
build-and-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -21,7 +37,7 @@ jobs: | |
run: platformio run -e release -e debug -e config | ||
|
||
- name: Upload binaries to release 🚀 | ||
uses: svenstaro/upload-release-action@v1-release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: .pio/build/*/firmware_*.hex | ||
|
This file was deleted.
Oops, something went wrong.