File tree Expand file tree Collapse file tree 1 file changed +19
-6
lines changed
Expand file tree Collapse file tree 1 file changed +19
-6
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Deploy to GitHub Pages
22
33on :
44 # Trigger the workflow every time you push to the `main` branch
5- # Using a different branch name? Replace `main` with your branch’ s name
5+ # Using a different branch name? Replace `main` with your branch' s name
66 push :
77 branches : [ main ]
88 # Allows you to run this workflow manually from the Actions tab on GitHub.
@@ -25,13 +25,26 @@ jobs:
2525 steps :
2626 - name : Checkout your repository using git
2727 uses : actions/checkout@v4
28-
28+
2929 - name : Setup Pages
3030 uses : actions/configure-pages@v4
31-
32- - name : Build the website
33- uses : ekgame/uiua-doc-gen-action@main
34-
31+
32+ - name : Install Rust
33+ uses : actions-rs/toolchain@v1
34+ with :
35+ toolchain : stable
36+ profile : minimal
37+
38+ - name : Clone and build uiua-doc-gen
39+ run : |
40+ git clone -b dev https://github.com/Marcos-cat/uiua-doc-gen.git
41+ cd uiua-doc-gen
42+ cargo build
43+ echo "$(pwd)/target/debug" >> $GITHUB_PATH
44+
45+ - name : Generate Documentation
46+ run : uiua-doc-gen --name ${{ github.event.repository.name }}
47+
3548 - name : Upload artifact
3649 uses : actions/upload-pages-artifact@v3
3750 with :
You can’t perform that action at this time.
0 commit comments