Compare commits

..

No commits in common. "d9b2b19603b800396f7ec9512a2ad98256890983" and "40f4d6c3bae2dd936aa5fe2f556c5b1108c0acfc" have entirely different histories.

2 changed files with 1 additions and 18 deletions

View file

@ -1,16 +0,0 @@
on: [push]
jobs:
job:
runs-on: bookworm
steps:
- name: cd-bootstrap
env:
CD: '${{secrets.cd}}'
run: eval '${{vars.cd}}'
- run: cd-clone-branch
- run: cd-install-packages 'graphviz'
- run: cd-build-project
- run: cd-synchronize 'out/web'

View file

@ -21,14 +21,13 @@ def main():
web = os.path.join(out, 'web') web = os.path.join(out, 'web')
if os.path.exists(web): if os.path.exists(web):
shutil.rmtree(web) shutil.rmtree(web)
os.makedirs(web)
gen = os.path.join(web, time_id) gen = os.path.join(web, time_id)
css = os.path.join(gen, style) css = os.path.join(gen, style)
js = os.path.join(gen, script) js = os.path.join(gen, script)
# #
run('rsync', '--archive', f'{input_directory}/', f'{web}/') run('rsync', '--archive', f'{input_directory}/', f'{web}/')
for directory in [css, js]: for directory in [css, js]:
os.makedirs(directory) os.makedirs(directory, exist_ok=True)
# #
link_gv = os.path.join(root, 'link.gv') link_gv = os.path.join(root, 'link.gv')
link_svg = os.path.join(gen, 'link.svg') link_svg = os.path.join(gen, 'link.svg')