Skip to content

Commit

Permalink
Remove test-docs and always run build-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eak24 committed Dec 12, 2024
1 parent fecad01 commit 022f872
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 52 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,27 @@ name: Documentation

on:
push:
branches:
- '**'
tags:
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
uses: actions/setup-python@v2
with:
python-version: '3.10'
- name: Setup System Dependencies
run: |
apt-get update
apt-get install -y tzdata rsync
ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime
dpkg-reconfigure -f noninteractive tzdata
- name: Install Dependencies
sudo apt-get update
sudo apt-get install -y tzdata rsync
sudo ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime
sudo dpkg-reconfigure -f noninteractive tzdata
- name: Install Python Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
Expand All @@ -31,7 +33,7 @@ jobs:
touch _build/html/.nojekyll
- name: Archive Artifacts
if: startsWith(github.ref, 'refs/tags/v')
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: docs
path: Textbook/_build/html/
Expand Down
44 changes: 0 additions & 44 deletions .github/workflows/test-build.yml

This file was deleted.

0 comments on commit 022f872

Please sign in to comment.