mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-05 23:41:44 +00:00
abb19e0870
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
33 lines
1.0 KiB
YAML
33 lines
1.0 KiB
YAML
name: ci-ifctester-org
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
paths:
|
|
- src/ifctester/**
|
|
|
|
jobs:
|
|
publish_website:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v6
|
|
- name: Checkout ifctester_org_static_html
|
|
uses: actions/checkout@v6
|
|
with:
|
|
repository: IfcOpenShell/ifctester_org_static_html
|
|
token: ${{ secrets.IFCOPENBOT_TOKEN }}
|
|
path: ifctester_org_static_html
|
|
- name: Build webapp
|
|
working-directory: ./src/ifctester
|
|
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'
|
|
make webapp-build
|
|
- name: Commit and push
|
|
run: |
|
|
cp -r src/ifctester/webapp/dist/* ifctester_org_static_html/
|
|
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
|