FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
python-workflow-definition/.github/workflows/deploy.yml at main · pythonworkflow/python-workflow-definition · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
pythonworkflow
/
python-workflow-definition
Public
Notifications
You must be signed in to change notification settings
Fork
9
Star
19
Code
Issues
23
Pull requests
5
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
python-workflow-definition
/
.github
/
workflows
/
deploy.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
35 lines (33 loc) · 1.02 KB
Breadcrumbs
python-workflow-definition
/
.github
/
workflows
/
deploy.yml
Copy path
File metadata and controls
35 lines (33 loc) · 1.02 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name
:
Deploy
on
:
push
:
branches
:
[ main ]
jobs
:
documentation
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v4
-
name
:
Conda config
run
:
echo -e "channels:\n - conda-forge\n" > .condarc
-
uses
:
conda-incubator/setup-miniconda@v3
with
:
python-version
:
"
3.12
"
miniforge-version
:
latest
condarc-file
:
.condarc
environment-file
:
documentation/environment.yml
-
name
:
Install Jupyterbook
shell
:
bash -l {0}
run
:
|
cp documentation/_config.yml .
cp documentation/_toc.yml .
cp documentation/*.md .
jupyter-book build . --path-output public
mv public/_build/html public_html
touch public_html/.nojekyll
-
name
:
Deploy 🚀
uses
:
JamesIves/github-pages-deploy-action@3.7.1
with
:
GITHUB_TOKEN
:
${{ secrets.GITHUB_TOKEN }}
BRANCH
:
gh-pages
#
The branch the action should deploy to.
FOLDER
:
public_html
#
The folder the action should deploy.
CLEAN
:
true
Back
|
FazBrowse Home
|
New Git URL