Skip to content

Increase result count #21

Increase result count

Increase result count #21

Workflow file for this run

name: publish
on: push
jobs:
publish_websites:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- working-directory: ./website
env:
GH_APIKEY: ${{ secrets.GH_APIKEY }}
OSC_APIKEY: ${{ secrets.OSC_APIKEY }}
run: |
sudo apt update && sudo apt install -y python3-pip
pip3 install requests Jinja2
git config --global user.name 'IfcOpenBot'
git config --global user.email 'IfcOpenBot@users.noreply.github.com'
git clone https://${{ secrets.GH_APIKEY }}@github.com/IfcOpenShell/blenderbim_org_static_html
git clone https://${{ secrets.GH_APIKEY }}@github.com/IfcOpenShell/ifcopenshell_org_static_html
python3 website.py
git -C blenderbim_org_static_html add .
git -C blenderbim_org_static_html commit --allow-empty -m "$(git log --oneline -1)"
git -C blenderbim_org_static_html push
git -C ifcopenshell_org_static_html add .
git -C ifcopenshell_org_static_html commit --allow-empty -m "$(git log --oneline -1)"
git -C ifcopenshell_org_static_html push