Skip to content

Commit 0fee90f

Browse files
github actions deployment
1 parent dc19366 commit 0fee90f

File tree

4 files changed

+33
-3
lines changed

4 files changed

+33
-3
lines changed

.Rproj.user/C112CF27/pcs/windowlayoutstate.pper

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"windowheight": 744
77
},
88
"right": {
9-
"splitterpos": 428,
9+
"splitterpos": 425,
1010
"topwindowstate": "NORMAL",
11-
"panelheight": 706,
12-
"windowheight": 744
11+
"panelheight": 699,
12+
"windowheight": 736
1313
}
1414
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
C%3A%2FUsers%2Fsanpl%2FDropbox%20(Personal)%2FClasses%2FStatisticalLearning%2FIntro2StatisticalLearning%2F.github%2Fworkflows%2Fdeploy.yml="FDBA0001"
12
C%3A%2FUsers%2Fsanpl%2FDropbox%20(Personal)%2FClasses%2FStatisticalLearning%2FIntro2StatisticalLearning%2FC2.2-Ensemble_Methods-Slides.qmd="DA93137C"
23
C%3A%2FUsers%2Fsanpl%2FDropbox%20(Personal)%2FClasses%2FStatisticalLearning%2FIntro2StatisticalLearning%2FC2.2-Ensemble_Methods-Slides4Beamer.qmd="F22FDC94"
34
C%3A%2FUsers%2Fsanpl%2FDropbox%20(Personal)%2FClasses%2FStatisticalLearning%2FIntro2StatisticalLearning%2Findex.qmd="39728396"

.Rproj.user/shared/notebooks/paths

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
C:/Users/sanpl/Dropbox (Personal)/Classes/StatisticalLearning/Intro2StatisticalLearning/.github/workflows/deploy.yml="1F876412"
12
C:/Users/sanpl/Dropbox (Personal)/Classes/StatisticalLearning/Intro2StatisticalLearning/C2.2-Ensemble_Methods-Slides.qmd="D636DF51"
23
C:/Users/sanpl/Dropbox (Personal)/Classes/StatisticalLearning/Intro2StatisticalLearning/C2.2-Ensemble_Methods-Slides4Beamer.qmd="89B4107F"
34
C:/Users/sanpl/Dropbox (Personal)/Classes/StatisticalLearning/Intro2StatisticalLearning/index.qmd="85347FBE"

.github/workflows/deploy.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Render and Deploy Quarto Site
2+
3+
on:
4+
push:
5+
branches:
6+
- main # Trigger deployment when changes are pushed to main
7+
8+
jobs:
9+
build-deploy:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Install Quarto
16+
run: |
17+
wget https://quarto.org/download/latest/quarto-linux-amd64.deb
18+
sudo dpkg -i quarto-linux-amd64.deb
19+
20+
- name: Render site
21+
run: quarto render
22+
23+
- name: Deploy to GitHub Pages
24+
uses: peaceiris/actions-gh-pages@v3
25+
with:
26+
github_token: ${{ secrets.GITHUB_TOKEN }}
27+
publish_dir: ./_site
28+

0 commit comments

Comments
 (0)