Skip to content

feat: 撤回PUBLISH_SECRET_API #12

feat: 撤回PUBLISH_SECRET_API

feat: 撤回PUBLISH_SECRET_API #12

Workflow file for this run

name: Trigger API on Tag
on:
push:
tags:
- '*'
jobs:
trigger-api:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Trigger API
run: |
curl -X POST ${{secrets.PUBLISH_SECRET_API}} \
-H "Content-Type: application/json" \
-d '{"tag": "${{ github.ref }}"}'