From 39930a1009a0a578139b704d251ec04f9f78441f Mon Sep 17 00:00:00 2001 From: Vitor Alho Date: Thu, 7 Sep 2023 00:02:51 -0300 Subject: [PATCH] Create deployment.yml --- .github/workflows/deployment.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/deployment.yml diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml new file mode 100644 index 0000000..8119719 --- /dev/null +++ b/.github/workflows/deployment.yml @@ -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 }}