Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Build website

on:
push:
branches:
- main

# Limit token permissions for security
permissions: read-all

jobs:
build-website:
uses: seedcase-project/.github/.github/workflows/reusable-build-docs.yml@main
secrets:
netlify-token: ${{ secrets.NETLIFY_AUTH_TOKEN }}
# This is to allow using `gh` CLI
github-token: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ public
site
slides/*.html
_freeze
*.html
*_files
4 changes: 4 additions & 0 deletions _publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- source: project
netlify:
- id: "5996f1fc-2795-4d47-b495-4981f41f60b4"
url: "https://rostools-template-workshop.netlify.app"
37 changes: 37 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
project:
type: book
pre-render:
- sh ./tools/get-contributors.sh rostools/template-workshop

book:
title: "Template Workshop"
subtitle: "An opinionated template for making workshops as open educational resources"
site-url: "https://template-workshop.rostools.org"
repo-url: "https://github.com/rostools/template-workshop"
chapters:
- index.qmd
- CONTRIBUTING.md
tools:
- icon: github
href: "https://github.com/rostools/template-workshop"
aria-label: "GitHub icon: Source code"

format:
rostools-theme-html:
theme:
- brand
include-before-body:
- "docs/includes/site-counter.html"

editor:
markdown:
wrap: 72
canonical: true

execute:
echo: false

# Variables to use throughout template.
gh:
org: "rostools"
repo: "template-workshop"
2 changes: 2 additions & 0 deletions docs/includes/site-counter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<script data-goatcounter="https://seedcase-template-data-package.goatcounter.com/count" async
src="//gc.zgo.at/count.js"></script>
Loading