Skip to content

Commit 6e53d97

Browse files
authored
Merge pull request #17 from astropenguin/#16-release-v0.6.0
Release v0.6.0
2 parents f21ea6c + 9ffcc5b commit 6e53d97

File tree

10 files changed

+355
-230
lines changed

10 files changed

+355
-230
lines changed

.github/workflows/gh-pages.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: GitHub Pages
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
- edited
8+
9+
jobs:
10+
job:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- name: Setup Python
15+
uses: actions/setup-python@v2
16+
with:
17+
python-version: 3.7
18+
- name: Build docs
19+
run: |
20+
pip install poetry
21+
poetry install
22+
poetry run etc/builddocs
23+
- name: Deploy docs
24+
uses: peaceiris/actions-gh-pages@v3
25+
with:
26+
github_token: ${{ secrets.GITHUB_TOKEN }}
27+
publish_dir: ./docs/_build
28+
publish_branch: gh-pages
29+
force_orphan: true

.github/workflows/publish.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/pypi.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: PyPI
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
jobs:
9+
job:
10+
runs-on: ubuntu-latest
11+
env:
12+
USERNAME: ${{ secrets.PYPI_USERNAME }}
13+
PASSWORD: ${{ secrets.PYPI_PASSWORD }}
14+
steps:
15+
- uses: actions/checkout@v2
16+
- name: Setup Python
17+
uses: actions/setup-python@v2
18+
with:
19+
python-version: 3.7
20+
- name: Publish package
21+
run: |
22+
pip install poetry
23+
poetry build
24+
poetry publish --username $USERNAME --password $PASSWORD

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@ name: Test
22

33
on:
44
push:
5-
branches: [master]
5+
branches:
6+
- master
67
pull_request:
7-
branches: [master]
8+
branches:
9+
- master
810

911
jobs:
10-
test:
12+
job:
1113
runs-on: ubuntu-latest
1214
strategy:
1315
matrix:

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
author = "Akio Taniguchi"
2424

2525
# The full version, including alpha/beta/rc tags
26-
release = "0.5.1"
26+
release = "0.6.0"
2727

2828

2929
# -- General configuration ---------------------------------------------------

0 commit comments

Comments
 (0)