Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
chipmanj committed Aug 27, 2024
2 parents 3c72864 + ff280f5 commit 2bea475
Show file tree
Hide file tree
Showing 144 changed files with 43,085 additions and 97,814 deletions.
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/weekly-entry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Course week
about: GitHub issue template for course week
title: 'Week [#]'
---

Welcome to week [#] of the course! You can access this week's content in the following links:

- Lecture notes ([link](https://UofUEpiBio.github.io/PHS7045-advanced-programming/week-01-slides.html)|[source]())
- Lab ([link]()|[source]())

## Additional resources

- Reading 1
- Reading 2
- ...
8 changes: 5 additions & 3 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ on: [push, pull_request]
jobs:
test-ubuntu:
runs-on: Ubuntu-latest
container: ghcr.io/uofuepibio/phs7045-advanced-programming:fall2024

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Execute
run: |
Expand All @@ -16,7 +17,8 @@ jobs:
- name: Commit results
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git commit -a -m 'Re-build examples' || echo Nothing has changed
git push origin || echo "No changes to commit"
45 changes: 31 additions & 14 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,41 @@ name: Render website
on: [push, pull_request]

jobs:
quarto-ubuntu:
upload:
runs-on: Ubuntu-latest
container: ghcr.io/uofuepibio/phs7045-advanced-programming:fall2024

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Getting the docker
- name: preping
run: |
docker pull gvegayon/phs7045:latest
mkdir _site
cp -R 0* _site
quarto render README.qmd --to=html
mv README.html _site/index.html
- name: Render
run: |
docker run -i --rm -v$(pwd):/home/docs -w/home/docs gvegayon/phs7045:latest make -B README.md
- uses: actions/upload-pages-artifact@v3
with:
path: "_site"

website:
if: ${{ github.event_name != 'pull_request' }}
needs: upload
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- uses: actions/checkout@v4

- name: Deploy to GitHub pages
uses: actions/deploy-pages@v4



- name: Commit results
run: |
git config --local user.name "$GITHUB_ACTOR"
git config --local user.email "[email protected]"
git add docs/* || echo Nothing to be added
git commit -a -m 'Re-build examples' || echo Nothing has changed
git push origin || echo "No changes to commit"
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
libs
*.gz
*.docx
*.xlsx
*.xlsx
_site
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"grammarly.selectors": [
{
"language": "quarto",
"scheme": "file"
}
]
}
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Loading

0 comments on commit 2bea475

Please sign in to comment.