diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml new file mode 100644 index 0000000..b8401c3 --- /dev/null +++ b/bitbucket-pipelines.yml @@ -0,0 +1,24 @@ +image: python:3.10 +pipelines: + default: + - parallel: + - step: + name: Install Poetry + script: + - python3 -m pip install --upgrade poetry + - step: + name: Install dependencies + script: + - poetry install + - step: + name: Download assets + script: + - poetry run python3 scripts/download.py + - step: + name: Build assets + script: + - poetry run python3 scripts/uglify-assets.py + - step: + name: Build and deploy + script: + - poetry run mkdocs gh-deploy --force