Offload: Refactor loki.transformations.data_offload
into separate sub-package
#325
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: documentation clean-up | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow when pull requests are closed | |
pull_request: | |
types: [closed] | |
jobs: | |
clean: | |
name: Clean-up branch documentation | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false # false: try to complete all jobs | |
matrix: | |
python-version: ["3.10"] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: main | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install click | |
pip install sites-toolkit -i https://get.ecmwf.int/repository/pypi-all/simple | |
- name: Clean-up documentation on sites | |
env: | |
SITES_TOKEN: ${{ secrets.SITES_TOKEN }} | |
working-directory: ./docs | |
run: | | |
./sites-manager.py --space=docs --name=loki --token "$SITES_TOKEN" delete ${{ github.event.pull_request.number }} || true |