Skip to content

Commit

Permalink
ci: fix config keys for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
piksel committed Sep 18, 2022
1 parent 76eb6c4 commit d2a0c68
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
jobs:
build:
runs-on: windows-latest
name: Update DocFX documentation
name: Generate DocFX documentation
steps:
- uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -43,20 +43,21 @@ jobs:
deploy:
needs: [build] # The second job must depend on the first one to complete before running and uses ubuntu-latest instead of windows.
runs-on: ubuntu-latest
name: Update github pages docs
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Download Artifacts 🔻 # The built project is downloaded into the 'site' folder.
- name: Download Artifacts # The built project is downloaded into the 'site' folder.
uses: actions/download-artifact@v1
with:
name: site

- name: Publish documentation to Github Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: site
TARGET_FOLDER: help
CLEAN: false
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: site
target-folder: help
clean: false

0 comments on commit d2a0c68

Please sign in to comment.