Merge pull request #1039 from thunderstore-io/autolist-default-packages #40
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger deploy | |
on: | |
push: | |
tags: | |
- "*.*.*" | |
jobs: | |
deploy: | |
name: Trigger deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Call deployment workflow | |
run: | | |
curl \ | |
-X POST \ | |
-u "${{ secrets.DEPLOY_WORKFLOW_DISPATCH_USER }}:${{ secrets.DEPLOY_WORKFLOW_DISPATCH_PAT }}" \ | |
-H "Accept: application/vnd.github.v3+json" \ | |
${{ secrets.DEPLOY_WORKFLOW_DISPATCH_URL }} \ | |
-d '{"ref": "master", "inputs": {"tag": "${{ github.ref_name }}"}}' |