Skip to content

Commit

Permalink
fix: fixed packagist publishing in PR mode
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanSpeakEasy committed Nov 15, 2023
1 parent 0a80353 commit f1b31d6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/sdk-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -267,9 +267,12 @@ jobs:
- name: Tune GitHub-hosted runner network
uses: smorimoto/tune-github-hosted-runner-network@v1
- name: Publish
uses: wei/[email protected]
uses: speakeasy-api/packagist-update@support-github-creation
with:
args: -XPOST -H'content-type:application/json' 'https://packagist.org/api/update-package?username=${{ secrets.packagist_username }}&apiToken=${{ secrets.packagist_token }}' -d'{\"repository\":{\"url\":\"${{ github.server_url }}/${{ github.repository }}\"}}'
username: ${{ secrets.packagist_username }}
api_token: ${{ secrets.packagist_token }}
package_name: ${{ github.repository }}
package_base_url: ${{ github.server_url }}
- uses: ravsamhq/notify-slack-action@v2
if: always() && env.SLACK_WEBHOOK_URL != ''
with:
Expand Down

0 comments on commit f1b31d6

Please sign in to comment.