Skip to content

Commit

Permalink
Add workflows/docs-changelog-generate.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyAkinshin committed Jul 3, 2023
1 parent 9b82273 commit 562a803
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/docs-changelog-generate.yaml
@@ -0,0 +1,35 @@
name: docs-changelog-generate

on:
push:
branches:
- master
workflow_dispatch:

permissions: write-all

jobs:
build:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v3
with:
ref: master

- name: Download changelog
run: ./build.sh --target DocFX_Changelog_Download --LatestVersions true
env:
GITHUB_PRODUCT: ChangelogBuilder
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Push changelog
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: docs-changelog-details
FOLDER: docs/_changelog/details
GIT_CONFIG_NAME: Andrey Akinshin
GIT_CONFIG_EMAIL: andrey.akinshin@gmail.com
CLEAN: true

0 comments on commit 562a803

Please sign in to comment.