From 8da4b9f23ffe468b0d26a0a5753172cded4e7b49 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Mon, 6 Oct 2025 17:41:21 +1100 Subject: [PATCH] Create ci-ifctester-org.yml This definitely won't work the first time --- .github/workflows/ci-ifctester-org.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci-ifctester-org.yml diff --git a/.github/workflows/ci-ifctester-org.yml b/.github/workflows/ci-ifctester-org.yml new file mode 100644 index 0000000000..357ba1fc98 --- /dev/null +++ b/.github/workflows/ci-ifctester-org.yml @@ -0,0 +1,25 @@ +name: ci-ifctester-org + +on: + workflow_dispatch: + +jobs: + publish_websites: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v2 + + - working-directory: ./src/ifctester + env: + GH_APIKEY: ${{ secrets.GH_APIKEY }} + OSC_APIKEY: ${{ secrets.OSC_APIKEY }} + run: | + sudo apt update && sudo apt install -y nodejs + 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/ifctester_org_static_html + make webapp-build + cd webapp/dist + git -C ifctester_org_static_html add . + git -C ifctester_org_static_html commit --allow-empty -m "$(git log --oneline -1)" + git -C ifctester_org_static_html push