Increase result count #21
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: 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 |