Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workflows/docs-changelog-generate.yaml
- Loading branch information
1 parent
9b82273
commit 562a803
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |