Skip to content

Merge pull request #56 from openearth/LAU_NUTS #191

Merge pull request #56 from openearth/LAU_NUTS

Merge pull request #56 from openearth/LAU_NUTS #191

Workflow file for this run

name: Publish absolute STAC catalog
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./main
strategy:
matrix:
python-version: [3.11]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
path: main
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Test with pytest
run: |
pytest
- name: Checkout release branch
uses: actions/checkout@v3
with:
ref: live
path: live
- name: Release
run: |
python ci/convert.py
rm -rf ../live/current
cp -rp live ../live/current
cd ../live
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "Absolute version of $GITHUB_SHA"
git push