Skip to content

Commit

Permalink
try add ui
Browse files Browse the repository at this point in the history
  • Loading branch information
OshinoShinobu-Chan committed Oct 30, 2024
1 parent 47f4bb3 commit 5663636
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions .github/workflows/deploy-action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Page Deploy
on: [push, pull_request]
jobs:
deploy:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -19,8 +19,22 @@ jobs:
- name: Build site
run: |
poetry run mkdocs build --clean
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Deploy:
runs-on: ubuntu-latest
needs: Build
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: site
python-version: '3.10'
- name: Install peotry
run: |
python -m pip install --upgrade pip
pip install poetry
- name: Install dependencies
run: |
poetry install
- name: Deploy
run: |
poetry run mkdocs gh-deploy

0 comments on commit 5663636

Please sign in to comment.