Create deployment.yml

This commit is contained in:
Vitor Alho 2023-09-07 00:02:51 -03:00 committed by GitHub
parent 1cf7dd0876
commit 39930a1009
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
.github/workflows/deployment.yml vendored Normal file
View 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 }}