Skip to content

Automated deployment to update contributors 2024-09-04 (#151) #86

Automated deployment to update contributors 2024-09-04 (#151)

Automated deployment to update contributors 2024-09-04 (#151) #86

Workflow file for this run

name: Update Docs
on:
push:
branches: [main]
jobs:
generate-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: gh-pages
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Install Oras and Dependencies
run: |
root=$PWD
cd /tmp
git clone https://github.com/oras-project/oras-py
cd oras-py
pip install -e .
cd docs/
pip install -r requirements.txt
make html
cp -R $root/.git _build/html/.git
rm -rf $root
mv _build/html $root
cd $root
touch .nojekyll
ls
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: .