cleanup: reset static html repos to pre-spree commits #80
Workflow file for this run
This file contains hidden or 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: | |
| workflow_dispatch: | |
| jobs: | |
| publish_websites: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - env: | |
| GH_APIKEY: ${{ secrets.GH_APIKEY }} | |
| run: | | |
| 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/bonsaibim_org_static_html | |
| git clone https://${{ secrets.GH_APIKEY }}@github.com/IfcOpenShell/ifcopenshell_org_static_html | |
| git -C bonsaibim_org_static_html reset --hard 3b8da4b | |
| git -C bonsaibim_org_static_html push --force | |
| git -C ifcopenshell_org_static_html reset --hard e4a2e6f | |
| git -C ifcopenshell_org_static_html push --force |