Skip to content

Commit 7e87e82

Browse files
Update workflows/docs-stable.yaml
1 parent de5cf4f commit 7e87e82

File tree

1 file changed

+25
-19
lines changed

1 file changed

+25
-19
lines changed

.github/workflows/docs-stable.yaml

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ jobs:
1919
- name: Build BenchmarkDotNet
2020
run: ./build.bat --target Build
2121

22-
- name: Download changelog
23-
run: ./build.bat --target DocFX_Changelog_Download --LatestVersions true --StableVersions true
24-
env:
25-
GITHUB_PRODUCT: ChangelogBuilder
26-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
# Temporary disabled because of the API limit
23+
# - name: Download changelog
24+
# run: ./build.bat --target DocFX_Changelog_Download --LatestVersions true --StableVersions true
25+
# env:
26+
# GITHUB_PRODUCT: ChangelogBuilder
27+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2728

2829
- name: Build documentation
2930
run: ./build.bat --target DocFX_Build
@@ -40,17 +41,22 @@ jobs:
4041
runs-on: ubuntu-latest
4142
steps:
4243

43-
- name: Download Artifacts
44-
uses: actions/download-artifact@v1
45-
with:
46-
name: site
47-
48-
- name: Deploy documentation
49-
uses: JamesIves/[email protected]
50-
with:
51-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52-
BRANCH: gh-pages
53-
FOLDER: site
54-
GIT_CONFIG_NAME: Andrey Akinshin
55-
GIT_CONFIG_EMAIL: [email protected]
56-
CLEAN: true
44+
- name: Download Artifacts
45+
uses: actions/download-artifact@v1
46+
with:
47+
name: site
48+
49+
- name: Checkout
50+
uses: actions/checkout@v3
51+
with:
52+
ref: docs-stable
53+
54+
- name: Deploy documentation
55+
uses: JamesIves/[email protected]
56+
with:
57+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
58+
BRANCH: gh-pages
59+
FOLDER: site
60+
GIT_CONFIG_NAME: Andrey Akinshin
61+
GIT_CONFIG_EMAIL: [email protected]
62+
CLEAN: true

0 commit comments

Comments
 (0)