Revert "change time type to datetime64" back to old type #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Sphinx: Render docs" | |
on: | |
push: | |
branches: ["main", "master"] | |
workflow_dispatch: | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.10" | |
- name: Add conda to system path | |
run: | | |
echo $CONDA/bin >> $GITHUB_PATH | |
- name: Conda build env for docs | |
shell: bash | |
run: | | |
conda env create --name dms_datastore -f environment.yml | |
source $CONDA/etc/profile.d/conda.sh | |
conda activate dms_datastore | |
python -m pip install --upgrade pip | |
pip install -r docsrc/requirements.txt | |
pip install --no-deps -e . | |
ghp-import -h | |
- name: Build HTML | |
shell: bash | |
run: | | |
source $CONDA/etc/profile.d/conda.sh | |
conda activate dms_datastore | |
cd docsrc/ | |
#sphinx-apidoc --force -o . ../dms_datastore | |
make clean | |
make html | |
- name: Run ghp-import | |
shell: bash | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
source $CONDA/etc/profile.d/conda.sh | |
conda activate dms_datastore | |
ghp-import -h | |
git config http.postBuffer 157286400 | |
git pull | |
tree -L 3 -a | |
ghp-import -n -p -f ./docs/html | |