Skip to content

Commit

Permalink
modify doc generation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikopet committed Aug 23, 2024
1 parent 77b1e27 commit 8a5c989
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,7 @@ jobs:
ref: docs

- name: Clean up docs directory
run: |
cp {docs/,}index.html
rm -r docs/*
mv index.html docs/
cp CNAME docs/
run: rm -r docs/*

- name: Download `doc`
uses: actions/download-artifact@v4
Expand All @@ -82,5 +78,6 @@ jobs:
- name: Commit and push
run: |
git add docs
git checkout main docs/
git commit -m ":rocket: update docs from \`verso\` repository"
git push origin docs

0 comments on commit 8a5c989

Please sign in to comment.