Skip to content

Commit

Permalink
Merge pull request #17 from t-gummer/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
t-gummer authored Nov 13, 2023
2 parents 663cef5 + 43e0762 commit 18d3b17
Show file tree
Hide file tree
Showing 12 changed files with 2,639 additions and 12 deletions.
1 change: 1 addition & 0 deletions .Rprofile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
source("renv/activate.R")
41 changes: 41 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Quarto Publish
# Render quarto (including R code execution) and publish site to netlify

on:
workflow_dispatch:
push:
branches: main
schedule:
- cron: "0 0 * * *" # automatically at midnight every day (UTC)

jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: Install Australian Locale
run: |
sudo locale-gen en_AU
sudo locale-gen en_AU.utf8
sudo update-locale
- name: Check out repository
uses: actions/checkout@v3

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

- name: Install R
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.3.1'

- name: Install R Dependencies
uses: r-lib/actions/setup-renv@v2
with:
cache-version: 1

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: netlify
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
.Renviron

/.quarto/
/_site_rendered/
10 changes: 10 additions & 0 deletions _dev/renv_history.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
renv::init()

# for code highlighting
renv::install("downlit")
library(downlit)

renv::snapshot()

renv::restore()

8 changes: 6 additions & 2 deletions _site_rendered/projects/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,12 @@
<div class="quarto-title-banner page-columns page-full">
<div class="quarto-title column-page-left">
<h1 class="title">Projects</h1>
</div>
<div>
<div class="description">
Below is a list of my personal projects.
</div>
</div>
</div>
</div>


Expand All @@ -207,7 +212,6 @@ <h5 class="quarto-listing-category-title">Categories</h5><div class="quarto-list



<p>Below is a list of my personal projects.</p>
<div id="listing-projects-list" class="quarto-listing quarto-listing-container-grid">
<div class="listing-actions-group">
<div class="input-group input-group-sm quarto-listing-filter">
Expand Down
2 changes: 1 addition & 1 deletion _site_rendered/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,6 @@
"href": "projects/index.html",
"title": "Projects",
"section": "",
"text": "Below is a list of my personal projects.\n\n\n \n \n \n \n\n\n\n\n\n\n\nRADins R package\n\n\n\nR\n\n\nAutomation\n\n\n\nAn R package containing a collection of RStudio add-ins. This includes one to paste windows file paths in R by replacing backslashes with forward slashes.\n\n\n\n\n\n\n\n\n\n\nbit in that\n\n\n\nR\n\n\nFooty\n\n\nStats\n\n\nFantasy\n\n\n\nA website dedicated to AFL Stats. The content on the website is predominately AFLW Fantasy-related but I will look to expand it in the future.\n\n\n\n\n\n\n\nNo matching items\n\n\n\n\n\n\n Back to top"
"text": "RADins R package\n\n\n\nR\n\n\nAutomation\n\n\n\nAn R package containing a collection of RStudio add-ins. This includes one to paste windows file paths in R by replacing backslashes with forward slashes.\n\n\n\n\n\n\n\n\n\n\nbit in that\n\n\n\nR\n\n\nFooty\n\n\nStats\n\n\nFantasy\n\n\n\nA website dedicated to AFL Stats. The content on the website is predominately AFLW Fantasy-related but I will look to expand it in the future.\n\n\n\n\n\n\n\nNo matching items\n\n\n\n\n\n\n Back to top"
}
]
12 changes: 6 additions & 6 deletions _site_rendered/sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://t-gummer.netlify.app/blog/2023/over-analysing-idle-footy-chat/index.html</loc>
<lastmod>2023-10-26T04:30:02.979Z</lastmod>
<lastmod>2023-11-13T02:45:59.962Z</lastmod>
</url>
<url>
<loc>https://t-gummer.netlify.app/blog/index.html</loc>
<lastmod>2023-10-26T04:30:08.004Z</lastmod>
<lastmod>2023-11-13T02:46:04.883Z</lastmod>
</url>
<url>
<loc>https://t-gummer.netlify.app/cv/index.html</loc>
<lastmod>2023-10-26T04:30:11.803Z</lastmod>
<lastmod>2023-11-13T02:46:17.333Z</lastmod>
</url>
<url>
<loc>https://t-gummer.netlify.app/goals/index.html</loc>
<lastmod>2023-10-26T04:30:14.636Z</lastmod>
<lastmod>2023-11-13T02:46:25.622Z</lastmod>
</url>
<url>
<loc>https://t-gummer.netlify.app/index.html</loc>
<lastmod>2023-10-26T04:30:16.918Z</lastmod>
<lastmod>2023-11-13T02:46:31.292Z</lastmod>
</url>
<url>
<loc>https://t-gummer.netlify.app/projects/index.html</loc>
<lastmod>2023-10-26T04:30:18.214Z</lastmod>
<lastmod>2023-11-13T02:46:32.762Z</lastmod>
</url>
</urlset>
4 changes: 1 addition & 3 deletions projects/index.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: "Projects"
description: "Below is a list of my personal projects."
execute:
echo: false
# freeze: true
Expand All @@ -12,9 +13,6 @@ listing:
fields: [title, description, categories]
---


Below is a list of my personal projects.

:::{#projects-list}
:::

Loading

0 comments on commit 18d3b17

Please sign in to comment.