gh workflow #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | ||
permissions: | ||
contents: write | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
'build and deploy': | ||
Check failure on line 12 in .github/workflows/build.yml GitHub Actions / buildInvalid workflow file
|
||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.11 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.11' | ||
- name: Install dependencies | ||
run: | | ||
pip install "git+https://github.com/skrub-data/skrub.git@main" | ||
- name: Build the site | ||
run: | | ||
python build.py | ||
- name: GitHub Pages action | ||
uses: peaceiris/[email protected] | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: _build |