Unverified Commit 60f22ca8 authored by paoloredis's avatar paoloredis Committed by GitHub
Browse files

Add redis_docs_sync workflow (#13426)

This workflow executes on releases. It invokes the `redis_docs_sync`
workflow on `redis/docs`.
parent 6ceadfb5
name: redis_docs_sync
on:
release:
types: [published]
jobs:
redis_docs_sync:
if: github.repository == 'redis/redis'
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.DOCS_APP_ID }}
private-key: ${{ secrets.DOCS_APP_PRIVATE_KEY }}
- name: Invoke workflow on redis/docs
env:
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
RELEASE_NAME: ${{ github.event.release.tag_name }}
run: |
gh workflow run -R redis/docs redis_docs_sync.yaml -f release="${RELEASE_NAME}"
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment