From 686fe7fc009a4a29884c8837925d9c4b8881a4a1 Mon Sep 17 00:00:00 2001 From: phoenixide Date: Sat, 18 Mar 2023 21:05:56 +0530 Subject: [PATCH] publish to phcode.dev/Brackets extension repoitory on GitHub release Update --- .github/workflows/publishToPhcode.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/publishToPhcode.yml diff --git a/.github/workflows/publishToPhcode.yml b/.github/workflows/publishToPhcode.yml new file mode 100644 index 0000000..02e6c46 --- /dev/null +++ b/.github/workflows/publishToPhcode.yml @@ -0,0 +1,16 @@ +name: Publish extension to Brackets/phcode.dev extension store +# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release +on: + release: + types: + - edited + - published + +jobs: + build-tasks: + runs-on: ubuntu-latest + steps: + - name: release to extension store + run: | + echo "$GITHUB_REF repo=${{github.event.repository.full_name}}" + curl --fail-with-body https://publish.phcode.dev/publishGithubRelease?releaseRef=${{github.event.repository.full_name}}:$GITHUB_REF