Skip to content

DM: Revise wrong syntax for command example on get into the pod in en… #1665

DM: Revise wrong syntax for command example on get into the pod in en…

DM: Revise wrong syntax for command example on get into the pod in en… #1665

Workflow file for this run

name: Trigger docs site update
on:
push:
branches:
- master
- release-*
jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Extract sha
id: extract
shell: bash
run: |
echo "sha=$(sha=${{ github.sha }}; echo ${sha:0:6})" >> $GITHUB_OUTPUT
- name: trigger docs-staging workflow
run: |
curl \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: token ${{ secrets.DOCS_STAGING }}" \
https://api.github.com/repos/pingcap/docs-staging/actions/workflows/update.yml/dispatches \
-d '{"ref":"main","inputs":{"full": "false", "repo":"${{ github.repository }}","branch":"${{ github.ref_name }}"}}'