Skip to content

chore: update pre-commit hooks #115

chore: update pre-commit hooks

chore: update pre-commit hooks #115

Workflow file for this run

name: Test deployment scripts
'on':
pull_request:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Python
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: 3.12
- name: Install Python dependencies
run: |
python -m pip install -U pip
python -m pip install -r deployment/requirements.txt
- name: Check Astropy Librarian installation
run: |
astropylibrarian --help
- name: Install tutorials into site
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
mkdir -p public/tutorials
python deployment/installtutorials.py --dest public/tutorials
- name: List tutorials
run: |
tree public/tutorials