Skip to content

Add files via upload #33

Add files via upload

Add files via upload #33

Workflow file for this run

name: Deploy Jupyter Book
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Jupyter Book
run: |
pip install jupyter-book
- name: Build book
run: |
jupyter-book build . --all
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./_build/html
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
if: github.ref == 'refs/heads/main'
```

Check failure on line 47 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 47
5. **Commit new file**
---
## ✅ 결과
이렇게 하면 자동으로:
```
.github/
└── workflows/
└── deploy.yml