We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 707aa84 commit 43160ccCopy full SHA for 43160cc
1 file changed
.github/workflows/Documentation.yml
@@ -19,3 +19,28 @@ jobs:
19
env:
20
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
21
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22
+ dev-docs-cleanup:
23
+ needs: docs
24
+ name: dev docs cleanup
25
+ runs-on: ubuntu-latest
26
+ steps:
27
+ - name: Checkout gh-pages branch
28
+ uses: actions/checkout@v4
29
+ with:
30
+ ref: gh-pages
31
+
32
+ - uses: julia-actions/setup-julia@v2
33
34
+ version: '1'
35
+ - uses: julia-actions/cache@v2
36
37
+ - name: Delete dev docs
38
+ run: |
39
+ git rm -rf ./*/dev/
40
+ - name: Push changes
41
42
+ git config user.name "Documenter.jl"
43
+ git config user.email "[email protected]"
44
+ git commit -m "delete dev docs"
45
+ git branch gh-pages-new $(echo "delete history" | git commit-tree HEAD^{tree})
46
+ git push --force origin gh-pages-new:gh-pages
0 commit comments