Create deployment.yml
This commit is contained in:
parent
1cf7dd0876
commit
39930a1009
1 changed files with 20 additions and 0 deletions
20
.github/workflows/deployment.yml
vendored
Normal file
20
.github/workflows/deployment.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: Push component to https://components.espressif.com
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- v*
|
||||||
|
jobs:
|
||||||
|
upload_components:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
submodules: "recursive"
|
||||||
|
|
||||||
|
- name: Upload component to the component registry
|
||||||
|
uses: espressif/upload-components-ci-action@v1
|
||||||
|
with:
|
||||||
|
name: "my_component"
|
||||||
|
version: ${{ github.ref_name }}
|
||||||
|
namespace: "espressif"
|
||||||
|
api_token: ${{ secrets.IDF_COMPONENT_API_TOKEN }}
|
Loading…
Reference in a new issue