Skip to content

Commit

Permalink
add puglishToPhcode.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
michaljerabek committed May 26, 2024
1 parent 571a579 commit d07cb77
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publishToPhcode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish extension to 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: Dump GitHub context
id: github_context_step
run: echo '${{ toJSON(github) }}'
- name: release details
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

0 comments on commit d07cb77

Please sign in to comment.