Skip to content

fix the way of defining the token var #2

fix the way of defining the token var

fix the way of defining the token var #2

Workflow file for this run

name: Trigger git submodule update in the docs repo
on:
push:
branches:
- add-workflow-docs-notification
workflow_dispatch:
jobs:
update_submodule_in_docs_repo:
runs-on: ubuntu-latest
steps:
- name: Trigger git submodule update in the docs repo
env:
PARENT_REPO: wallarm/product-documentation
WORKFLOW_ID: 7113795232
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ env.PARENT_REPO }}/actions/workflows/${{ env.WORKFLOW_ID }}/dispatches \
-d '{}'