Skip to content

Adjust data availability for CDSE S1 and S2 Mosaics #1722

Adjust data availability for CDSE S1 and S2 Mosaics

Adjust data availability for CDSE S1 and S2 Mosaics #1722

Workflow file for this run

on:
pull_request:
branches: [ publish, staging ]
types: [ opened, synchronize ]
concurrency: preview-${{ github.ref }}
name: Create PR preview
env:
SENTINELHUB_CLIENT_SECRET: ${{secrets.CLIENT_SECRET}}
SENTINELHUB_CLIENT_ID: ${{secrets.CLIENT_ID}}
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Check out repository
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
# To install LaTeX to build PDF book
tinytex: true
# uncomment below and fill to pin a version
version: '1.6.40'
# add software dependencies here
- name: Install Python and Dependencies
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip'
- run: pip install jupyter
- run: pip install -r requirements.txt
# To publish to Netlify, RStudio Connect, or GitHub Pages, uncomment
# the appropriate block below
# - name: Publish to Netlify (and render)
# uses: quarto-dev/quarto-actions/publish@v2
# with:
# target: netlify
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
# - name: Publish to RStudio Connect (and render)
# uses: quarto-dev/quarto-actions/publish@v2
# with:
# target: connect
# CONNECT_SERVER: enter-the-server-url-here
# CONNECT_API_KEY: ${{ secrets.CONNECT_API_KEY }}
- name: Render
run: quarto render --output-dir _build
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./_build/