Skip to content

update to tiles.maps.eox.at #4

update to tiles.maps.eox.at

update to tiles.maps.eox.at #4

Workflow file for this run

# .github/workflows/preview.yml
# This is a basic workflow takes care of building and deploying
# catalog when creating merge request
name: Deploy PR previews
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed # pr-preview-action will do cleanup here, but build steps can be skipped
# do not allow running multiple of pipelines for this PR in parallel
concurrency: preview-${{ github.ref }}
jobs:
deploy-preview:
runs-on: ubuntu-22.04
permissions:
contents: write
pages: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"
- if: github.event.action != 'closed'
name: Install dependencies
run: |
pip install -U pip
pip install -r requirements.txt
- if: github.event.action != 'closed' && (github.event.pull_request.body == 'all' || github.event.pull_request.body == '')
name: Build all collections
env:
SH_INSTANCE_ID: ${{ secrets.SH_INSTANCE_ID }}
SH_CLIENT_ID: ${{ secrets.SH_CLIENT_ID }}
SH_CLIENT_SECRET: ${{ secrets.SH_CLIENT_SECRET }}
run: eodash_catalog
- if: github.event.action != 'closed' && (github.event.pull_request.body != 'all' && github.event.pull_request.body != '')
name: Build only specified collections from PR comment text
env:
SH_INSTANCE_ID: ${{ secrets.SH_INSTANCE_ID }}
SH_CLIENT_ID: ${{ secrets.SH_CLIENT_ID }}
SH_CLIENT_SECRET: ${{ secrets.SH_CLIENT_SECRET }}
run: |
eodash_catalog ${{ github.event.pull_request.body }}
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./build