Skip to content

Commit

Permalink
GitHub Actions로 빌드
Browse files Browse the repository at this point in the history
  • Loading branch information
dahlia committed Jul 11, 2024
1 parent e875d27 commit 8d57178
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: main
on: [push]

jobs:
mkdocs:
runs-on: ubuntu-latest
permissions:
id-token: write
pages: write
deployments: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- run: pip install --user -r requirements.txt
- run: mkdocs build
- run: echo docs.fedidev.kr > site/CNAME
- uses: actions/upload-pages-artifact@v3
with:
path: site
- id: deployment
if: github.event_name == 'push' && github.ref_type == 'tag'
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.venv/
site/

0 comments on commit 8d57178

Please # to comment.