Skip to content

Commit

Permalink
Merged CI scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
foorschtbar committed Jul 16, 2021
1 parent 5373671 commit 2fa59aa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 19 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/build-and-release.yml
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:
Expand All @@ -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
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/gh-pages.yml

This file was deleted.

0 comments on commit 2fa59aa

Please sign in to comment.