Skip to content

Commit

Permalink
Add quarto workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mathjoha committed Nov 29, 2024
1 parent 7219911 commit aec7fd0
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
workflow_dispatch:
push:
branches: main

name: Quarto Publish

jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check out repository
uses: actions/checkout@v4

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

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Empty file added .nojekyll
Empty file.
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
www.digital-history.se
3 changes: 1 addition & 2 deletions _quarto.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
project:
type: website
output-dir: _site
output-dir: docs
preview:
port: 7112


website:
title: "Digital History in Sweden"
site-url: "https://www.digital-history.se"
Expand Down

0 comments on commit aec7fd0

Please sign in to comment.