Skip to content

Commit

Permalink
Update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dalance committed Feb 28, 2024
1 parent c281318 commit fa2f555
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ env:
LANGUAGES: ja

jobs:
index:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
cname: doc.veryl-lang.org

book:
runs-on: ubuntu-latest
permissions:
Expand Down Expand Up @@ -57,10 +68,9 @@ jobs:
mdbook build -d book/$po_lang
echo "::endgroup::"
done
- name: Move to public
run: mv ./book/book public
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
cname: doc.veryl-lang.org
publish_dir: ./book/book
destination_dir: book

0 comments on commit fa2f555

Please sign in to comment.