Skip to content

Commit d2a0c68

Browse files
authored
ci: fix config keys for deploy
1 parent 76eb6c4 commit d2a0c68

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/release.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
jobs:
1515
build:
1616
runs-on: windows-latest
17-
name: Update DocFX documentation
17+
name: Generate DocFX documentation
1818
steps:
1919
- uses: actions/checkout@v2
2020
with:
@@ -43,20 +43,21 @@ jobs:
4343
deploy:
4444
needs: [build] # The second job must depend on the first one to complete before running and uses ubuntu-latest instead of windows.
4545
runs-on: ubuntu-latest
46+
name: Update github pages docs
4647
steps:
4748
- name: Checkout
4849
uses: actions/checkout@v3
4950

50-
- name: Download Artifacts 🔻 # The built project is downloaded into the 'site' folder.
51+
- name: Download Artifacts # The built project is downloaded into the 'site' folder.
5152
uses: actions/download-artifact@v1
5253
with:
5354
name: site
5455

5556
- name: Publish documentation to Github Pages
5657
uses: JamesIves/github-pages-deploy-action@v4
5758
with:
58-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59-
BRANCH: gh-pages
60-
FOLDER: site
61-
TARGET_FOLDER: help
62-
CLEAN: false
59+
token: ${{ secrets.GITHUB_TOKEN }}
60+
branch: gh-pages
61+
folder: site
62+
target-folder: help
63+
clean: false

0 commit comments

Comments
 (0)