Skip to content

Commit 846b83d

Browse files
commit
1 parent 7f7aa83 commit 846b83d

File tree

7 files changed

+94
-0
lines changed

7 files changed

+94
-0
lines changed

.github/workflows/publish.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
on:
2+
workflow_dispatch:
3+
push:
4+
branches: main
5+
6+
name: Quarto Publish
7+
8+
jobs:
9+
build-deploy:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- name: Check out repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Quarto
18+
uses: quarto-dev/quarto-actions/setup@v2
19+
20+
- name: Install Python and dependencies
21+
uses: actions/setup-python@v4
22+
with:
23+
python-version: '3.10'
24+
cache: 'pip'
25+
- run: pip install jupyter
26+
- run: pip install -r requirements.txt
27+
28+
- name: Render and Publish
29+
uses: quarto-dev/quarto-actions/publish@v2
30+
with:
31+
target: gh-pages
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
35+
- name: Commit changes to reflect source file changes
36+
run: |
37+
git config --global user.name 'Chris von Csefalvay'
38+
git config --global user.email '[email protected]'
39+
40+
# Capture output of git status
41+
CHANGED=$(git status --porcelain)
42+
43+
if [ -z "$CHANGED" ]; then
44+
echo "No changes to commit."
45+
else
46+
echo "Changes found. Committing..."
47+
git commit -am "Automated commit of changes to source files"
48+
git push
49+
fi

.idea/.gitignore

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/profiles_settings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/personal-website.iml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)