Skip to content

Commit

Permalink
Add release workflow (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz authored Oct 16, 2024
1 parent 41b08f9 commit ad24148
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Publish

on:
release:
types: [published]

jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Python
uses: actions/[email protected]
with:
python-version: '3.x'
- name: Install platformio
run: pip install --upgrade platformio
- name: Publish package
env:
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PLATFORMIO_AUTH_TOKEN }}
run: pio package publish --owner esphome --non-interactive

0 comments on commit ad24148

Please sign in to comment.