Skip to content

Create docs.yml

Create docs.yml #2

Workflow file for this run

# ... previous steps ...
- name: Build DocFX site

Check failure on line 2 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
run: docfx build
- name: Add .nojekyll file to disable Jekyll on GitHub Pages
run: echo "" > _site/.nojekyll
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: gh-pages
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com