Skip to content

add pandas dependency #50

add pandas dependency

add pandas dependency #50

Workflow file for this run

name: Publish content to GitHub pages
on:
push:
branches: [main]
concurrency: publish
jobs:
build-documentation:
runs-on: ubuntu-latest
permissions:
pages: write
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
tinytex: true
version: '1.4.554'
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
- name: Install dependencies
run: pip install jupyter && pip install -r requirements.txt
- name: Render documentation pages
run: quarto render --output-dir _build
- name: Setup GitHub pages
uses: actions/configure-pages@v3
- name: Upload build artifacts
uses: actions/upload-pages-artifact@v1
with:
path: "_build"
- name: Upload build folder
uses: actions/upload-artifact@v3
with:
name: build-folder
path: "_build"
deploy-documentation-ghpages:
runs-on: ubuntu-latest
needs: build-documentation
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub pages
id: deployment
uses: actions/deploy-pages@v2
deploy-documentation-branch:
runs-on: ubuntu-latest
needs: build-documentation
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set Git config
run: |
git config --local user.email "[email protected]"
git config --local user.name "Github Actions"
- name: Download build folder
uses: actions/download-artifact@v3
with:
name: build-folder
path: ./_build
- name: Commit and Push to docportal branch
run: |
git checkout docportal || git checkout --orphan docportal
git rm -rf .
echo '_build/' >> .gitignore
cp -r _build/* .
git add .
git commit -m "chore: update of documentation"
git push --force origin docportal