Skip to content

Commit 6c26cbf

Browse files
authoredMay 28, 2020
Merge pull request #3 from IPAtope/gh-pages
shift to another branch
2 parents a9738f7 + aabde59 commit 6c26cbf

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
 

‎.github/workflows/deploy.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: github pages
2+
3+
on: [push]
4+
5+
jobs:
6+
deploy:
7+
runs-on: ubuntu-18.04
8+
steps:
9+
- name: setup
10+
uses: actions/checkout@v2
11+
with:
12+
submodules: true
13+
- uses: actions/setup-python@v2
14+
with:
15+
python-version: 3.7
16+
17+
- run: |
18+
mkdir -p public
19+
python3 -m pip install -U -r requirements.txt
20+
./extract_phoneme_list.py
21+
./ipatope.py
22+
ls -la
23+
ls -la public
24+
25+
- name: Deploy
26+
uses: peaceiris/actions-gh-pages@v3
27+
with:
28+
publish_dir: ./public
29+
github_token: ${{ secrets.GITHUB_TOKEN }}
30+
publish_branch: master
31+
user_name: 'github-actions[bot]'
32+
user_email: 'github-actions[bot]@users.noreply.github.com'
33+
force_orphan: true
34+
keep_files: true

0 commit comments

Comments
 (0)
Please sign in to comment.