diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..be5a77f --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: "Release" +on: + release: + types: [prereleased] +jobs: + release-dispatch: + name: Release Dispatch + runs-on: ubuntu-latest + steps: + - name: API Dispatch + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.GH_TOKEN}} + repository: getlago/lago-api + event-type: release + client-payload: '{"version": "${{ github.event.release.tag_name }}"}' + - name: Front Dispatch + uses: peter-evans/repository-dispatch@v2 + with: + token: ${{ secrets.GH_TOKEN }} + repository: getlago/lago-front + event-type: release + client-payload: '{"version": "${{ github.event.release.tag_name }}"}' diff --git a/api b/api index 7d65375..998f7d8 160000 --- a/api +++ b/api @@ -1 +1 @@ -Subproject commit 7d6537555738f808ab6d01b7c065a7dd9866bcb9 +Subproject commit 998f7d83346d32e3b2a030e13f6471b063566e63 diff --git a/front b/front index 7d20224..c1b9f7d 160000 --- a/front +++ b/front @@ -1 +1 @@ -Subproject commit 7d20224fcdb2e7f897d82fd31252cdd0de00dcc0 +Subproject commit c1b9f7d1b07daf6e1fa04a6b5e81fd6699628b20