Skip to content

Merge pull request #8 from OpeningDesign/fix_installation_url #42

Merge pull request #8 from OpeningDesign/fix_installation_url

Merge pull request #8 from OpeningDesign/fix_installation_url #42

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