Skip to content

Commit

Permalink
Merge pull request #27 from jdossgollin/quarto
Browse files Browse the repository at this point in the history
Move to Quarto
  • Loading branch information
jdossgollin committed Feb 29, 2024
2 parents 694fc21 + 0704092 commit d7e1ad6
Show file tree
Hide file tree
Showing 33 changed files with 1,328 additions and 701 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/links.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/workflows/main.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/publish-quarto.yml
@@ -0,0 +1,46 @@
on:
repository_dispatch:
push:
branches: [master]

name: Render and Publish

# you need these permissions to publish to GitHub pages
permissions:
contents: write
pages: write

# https://github.com/marketplace/actions/setup-miniconda
defaults:
run:
shell: bash -l {0}

jobs:
build-deploy:
runs-on: ubuntu-latest

# run only on upstream, not on downstream
if: github.repository == 'dossgollin-lab/lab-guide'

steps:
- name: Check out repository
uses: actions/checkout@v4
with:
submodules: true

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

- name: Update bibliography
run: |
cd _bibliography
git branch -u origin/master master
cd ..
git submodule update --remote --recursive
- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # this secret is always available for github actions
4 changes: 4 additions & 0 deletions .gitignore
@@ -1,3 +1,7 @@
site/
_site/
.jekyll-cache

/.quarto/
*.html
*.pdf
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "_bibliography"]
path = _bibliography
url = https://github.com/jdossgollin/my-papers.git
201 changes: 0 additions & 201 deletions LICENSE

This file was deleted.

16 changes: 0 additions & 16 deletions Makefile

This file was deleted.

0 comments on commit d7e1ad6

Please sign in to comment.