Skip to content

Release/v0.7.3 (#94) #21

Release/v0.7.3 (#94)

Release/v0.7.3 (#94) #21

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: 'Notify (DOCS)'
on:
push:
branches:
- main
paths:
- demo/docker-compose/README.md
- demo/kubernetes/README.md
- README.md
workflow_dispatch:
jobs:
notify:
name: 'Notify docs about api-firewall demo docs changes'
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: GitHub API Call to notify product-docs-en
env:
FIREWALL_DOCS_TOKEN: ${{ secrets.FIREWALL_DOCS_TOKEN }}
PARENT_REPO: wallarm/product-docs-en
PARENT_BRANCH: master
WORKFLOW_ID: 11686992
run: |-
curl \
-fL --retry 3 \
-X POST \
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ env.FIREWALL_DOCS_TOKEN }}" \
https://api.github.com/repos/${{ env.PARENT_REPO }}/actions/workflows/${{ env.WORKFLOW_ID }}/dispatches \
-d '{"ref":"${{ env.PARENT_BRANCH }}"}'
dockerHubDescription:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: wallarm/api-firewall
short-description: ${{ github.event.repository.description }}