We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a546d4e commit fb63734Copy full SHA for fb63734
.github/workflows/publishToPhcode.yml
@@ -0,0 +1,19 @@
1
+name: Publish extension to phcode.dev extension store
2
+# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#release
3
+on:
4
+ release:
5
+ types:
6
+ - edited
7
+ - published
8
+
9
+jobs:
10
+ build-tasks:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Dump GitHub context
14
+ id: github_context_step
15
+ run: echo '${{ toJSON(github) }}'
16
+ - name: release details
17
+ run: |
18
+ echo "$GITHUB_REF repo=${{github.event.repository.full_name}}"
19
+ curl --fail-with-body https://publish.phcode.dev/publishGithubRelease?releaseRef=${{github.event.repository.full_name}}:$GITHUB_REF
0 commit comments