Skip to content

Commit

Permalink
Merge pull request #17 from jburel/remove_travis
Browse files Browse the repository at this point in the history
Remove travis
  • Loading branch information
jburel committed Dec 8, 2020
2 parents 935aa85 + 9886a6c commit f73affd
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 24 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Builds the Sphinx documentation in the specified folder.
# Default values are docs/ for the directory where the Sphinx
# documentation is located and true to run linkcheck
# To pass a new folder, set directory_path to the folder path
# Pass the arguments you wish to run, default command is make clean html linkcheck

---
name: sphinx

on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'

jobs:
build:
runs-on: ubuntu-latest
env:
directory_path:
sphinx_commands: clean html linkcheck # commands to run. Update accordingly
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Sphinx install
run: pip install --upgrade sphinx
- name: Set directory
run: |
VAR=${{ env.directory_path }}
echo "docs_dir="${VAR:-./docs} >> $GITHUB_ENV
- name: Build doc
run: |
cd $docs_dir
make ${{ env.sphinx_commands }}
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

[![Documentation Status](https://readthedocs.org/projects/omero-guide-fiji/badge/?version=latest)](https://omero-guides.readthedocs.io/en/latest/fiji/docs/index.html)

[![Actions Status](https://github.com/ome/omero-guide-fiji/workflows/repo2docker/badge.svg)](https://github.com/ome/omero-guide-fiji/actions)

[![Actions Status](https://github.com/ome/omero-guide-fiji/workflows/sphinx/badge.svg)](https://github.com/ome/omero-guide-fiji/actions)

The documentation is deployed at [How to use Fiji](https://omero-guides.readthedocs.io/en/latest/fiji/docs/index.html).

This guide demonstrates how to analyze data stored in OMERO in Fiji.
Expand Down

0 comments on commit f73affd

Please sign in to comment.