-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from ua-datalab/gh-pages
Updated mkdocs & workflow
- Loading branch information
Showing
3 changed files
with
105 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,29 @@ | ||
name: Publish docs via GitHub | ||
name: ghpages | ||
on: | ||
push: | ||
branches: | ||
- gh-pages | ||
- master | ||
- main | ||
permissions: | ||
actions: write | ||
contents: read, write | ||
deployments: write | ||
jobs: | ||
build: | ||
name: Deploy docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.9 | ||
- name: run requirements file | ||
run: pip install -r requirements.txt | ||
- name: Deploy docs | ||
run: mkdocs gh-deploy --force | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
contents: write | ||
# deployments: write | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.10.9 | ||
- uses: actions/cache@v2 | ||
with: | ||
key: ${{github.ref}} | ||
path: .cache | ||
- name: run requirements file | ||
run: pip install mkdocs-material | ||
- name: Deploy docs | ||
run: mkdocs gh-deploy --force | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
The [UArizona DataLab](https://www.datascience.arizona.edu/education/uarizona-data-lab) | ||
is an effective organizational structure of the | ||
[Data Science Institute](https://www.datascience.arizona.edu/) | ||
for fostering and accelerate research in applied Data Science by providing access to expertise, | ||
data, collaboration, advanced infrastructure, and training opportunities. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters