Merge branch 'master' into v0.5.0
This commit is contained in:
commit
7bc13204e6
2 changed files with 6 additions and 2 deletions
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
|
@ -1,8 +1,12 @@
|
||||||
name: Docker
|
name: Docker
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
release:
|
||||||
|
types:
|
||||||
|
- created
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DOCKER_IMAGE: archivebox-ci
|
DOCKER_IMAGE: archivebox-ci
|
||||||
|
|
|
@ -233,7 +233,7 @@ def write_main_index(links: List[Link], out_dir: Path=OUTPUT_DIR) -> None:
|
||||||
|
|
||||||
except (KeyboardInterrupt, SystemExit):
|
except (KeyboardInterrupt, SystemExit):
|
||||||
stderr('[!] Warning: Still writing index to disk...', color='lightyellow')
|
stderr('[!] Warning: Still writing index to disk...', color='lightyellow')
|
||||||
stderr(' Run archivebox init to fix any inconsisntencies from an ungraceful exit.')
|
stderr(' Run archivebox init to fix any inconsistencies from an ungraceful exit.')
|
||||||
with timed_index_update(out_dir / SQL_INDEX_FILENAME):
|
with timed_index_update(out_dir / SQL_INDEX_FILENAME):
|
||||||
write_sql_main_index(links, out_dir=out_dir)
|
write_sql_main_index(links, out_dir=out_dir)
|
||||||
os.chmod(out_dir / SQL_INDEX_FILENAME, int(OUTPUT_PERMISSIONS, base=8)) # set here because we don't write it with atomic writes
|
os.chmod(out_dir / SQL_INDEX_FILENAME, int(OUTPUT_PERMISSIONS, base=8)) # set here because we don't write it with atomic writes
|
||||||
|
|
Loading…
Add table
Reference in a new issue