Skip to content

Download data required by ScopeSim #230

Download data required by ScopeSim

Download data required by ScopeSim #230

Workflow file for this run

name: Download data required by ScopeSim
on:
schedule:
# Run every day at 5:00 UTC
- cron: "0 5 * * *"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
download_data:
runs-on: ubuntu-latest
timeout-minutes: 180
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -e .
- name: Run download script
run: bash bin/download_scopesim_data.sh
# Create a PR with the changes from the above script, if any.
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: "Update stored data"
branch: update-stored-data
delete-branch: true
title: "[Assist PR] Update stored data"
body: |
Update stored data.
Auto-generated.
labels: |
automated
draft: false