Skip to content

fix(ci): workflow should use 'with' not 'env' #45

fix(ci): workflow should use 'with' not 'env'

fix(ci): workflow should use 'with' not 'env' #45

Workflow file for this run

name: DocFX
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
docfx:
runs-on: ubuntu-latest
name: Publish Documentation
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Copy favicon
run: |
mkdir docfx_project/images
cp branding_Icon.png docfx_project/images/favicon.png
- name: Build documentation
uses: nikeee/[email protected]
with:
args: docfx_project/docfx.json
- name: Publish documentation on GitHub Pages
uses: maxheld83/ghpages@master
env:
BUILD_DIR: docfx_project/_site
GH_PAT: ${{ secrets.GH_PAT }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}