Skip to content

Commit

Permalink
configure workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
maelle committed Sep 18, 2023
1 parent f52768c commit a4fe586
Show file tree
Hide file tree
Showing 86 changed files with 31 additions and 34,763 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on:
push:
branches: main

name: Render and Publish

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

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2
with:
# To install LaTeX to build PDF book
tinytex: true
# uncomment below and fill to pin a version
# version: SPECIFIC-QUARTO-VERSION-HERE

# add software dependencies here

- 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
.Ruserdata

/.quarto/
docs
2 changes: 1 addition & 1 deletion _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ project:
output-dir: docs

website:
site-url: https://cynkra.com/blog
site-url: https://cynkra.github.io/cynkrablog
reader-mode: true
title: "cynkra blog"
description: "By the cynkra team"
Expand Down
Loading

0 comments on commit a4fe586

Please sign in to comment.