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 a2482c1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,12 @@ jobs:
with:
repository: versotile-org/docs.versotile.org
ssh-key: ${{ secrets.DOCS_DEPLOY_KEY }}
ref: docs
ref: main

- name: Clean up docs directory
run: |
cp {docs/,}index.html
git checkout docs
rm -r docs/*
mv index.html docs/
cp CNAME docs/
- name: Download `doc`
uses: actions/download-artifact@v4
Expand All @@ -82,5 +80,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 a2482c1

Please sign in to comment.