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