From 70f3ea0dd1cb9c4cbc5463965d48289e1da6c63e Mon Sep 17 00:00:00 2001 From: phoenixide Date: Sun, 19 Mar 2023 01:44:53 +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