Skip to content

Commit 0ebcb44

Browse files
authored
Remove documentation from release workflow
1 parent a55da0e commit 0ebcb44

File tree

1 file changed

+1
-46
lines changed

1 file changed

+1
-46
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -101,51 +101,6 @@ jobs:
101101
pip install --upgrade twine
102102
twine upload --skip-existing dist/*
103103
104-
build-documentation:
105-
runs-on: ubuntu-latest
106-
steps:
107-
- uses: actions/checkout@v2
108-
- name: Setup python
109-
uses: actions/setup-python@v2
110-
with:
111-
python-version: 3.9
112-
- name: Install pandoc
113-
run: sudo apt-get install -y pandoc
114-
- name: Install python dependencies
115-
run: |
116-
pip install sphinx sphinx-bootstrap-theme nbsphinx ipython pygments
117-
- name: Build Wheels
118-
uses: messense/maturin-action@v1
119-
with:
120-
manylinux: auto
121-
command: build
122-
args: --release --out dist
123-
- name: Install module
124-
run: |
125-
pip install feos --no-index --find-links dist --force-reinstall
126-
- name: Build documentation
127-
run: sphinx-build docs/ public/ -b html
128-
- name: Upload artifacts
129-
uses: actions/upload-artifact@v2
130-
with:
131-
name: documentation
132-
path: public
133-
134-
release-documentation:
135-
needs: [build-documentation]
136-
runs-on: ubuntu-latest
137-
steps:
138-
- name: Download artifacts
139-
uses: actions/download-artifact@v1
140-
with:
141-
name: documentation
142-
path: public
143-
- name: Deploy documentation to gh-pages
144-
uses: peaceiris/actions-gh-pages@v3
145-
with:
146-
github_token: ${{ secrets.GITHUB_TOKEN }}
147-
publish_dir: ./public
148-
149104
release-crates-io:
150105
name: Release crates.io
151106
runs-on: ubuntu-latest
@@ -158,4 +113,4 @@ jobs:
158113
override: true
159114
- uses: katyo/publish-crates@v1
160115
with:
161-
registry-token: ${{ secrets.CRATES_IO_TOKEN }}
116+
registry-token: ${{ secrets.CRATES_IO_TOKEN }}

0 commit comments

Comments
 (0)