diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index da4581ca..47e1127c 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,8 +1,12 @@ name: Docker on: - workflow_dispatch: push: + branches: + - master + release: + types: + - created env: DOCKER_IMAGE: archivebox-ci diff --git a/archivebox/index/__init__.py b/archivebox/index/__init__.py index 97eeb6a2..3a066e18 100644 --- a/archivebox/index/__init__.py +++ b/archivebox/index/__init__.py @@ -233,7 +233,7 @@ def write_main_index(links: List[Link], out_dir: Path=OUTPUT_DIR) -> None: except (KeyboardInterrupt, SystemExit): 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): 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