Publish Pinpoint website #884
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Publish Pinpoint website | |
on: | |
# https://docs.github.com/en/actions/reference/events-that-trigger-workflows#repository_dispatch | |
repository_dispatch: | |
types: [release-pinpoint] | |
schedule: | |
# * is a special character in YAML so you have to quote this string | |
- cron: '00 5 * * *' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Update main.md by Markdown template engin | |
uses: ./.github/actions/markdown-template-engine-action | |
with: | |
template_markdown_file: ./main.md | |
section_github_path: pinpoint-apm/pinpoint | |
env: | |
ACTIONS_STEP_DEBUG: true |