dioxus/.github/workflows/docs.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 10: cannot unmarshal !!str `deploy` into model.Job line 11: cannot unmarshal !!str `ubuntu-...` into model.Job line 16: cannot unmarshal !!seq into model.Job
2024-02-08 16:33:28 -05:00

36 lines
No EOL
687 B
YAML

name: Deploy Nightly Docs
on:
push:
branches:
- master
- main
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Clone Repo
uses: actions/checkout@v4
- name: Set up cargo cache
uses: Swatinem/rust-cache@v2
with:
prefix-key: "v0-docs"
- name: cargo doc
run: cargo doc --no-deps --workspace
- name: upload artifacts
uses: actions/upload-pages-artifact@v3
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
branch: gh-pages-docs
folder: target/doc
#target-folder: docs
#repository-name: