Skip to content

Commit

Permalink
github action publish
Browse files Browse the repository at this point in the history
  • Loading branch information
O2iginal committed Apr 18, 2024
1 parent d56191f commit 737505d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
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 }}
3 changes: 3 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
project:
type: website

execute:
freeze: auto

website:
title: "O2iginal's Blog"
navbar:
Expand Down
2 changes: 1 addition & 1 deletion about.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
title: "About"
---

About this site
About this site ~

0 comments on commit 737505d

Please sign in to comment.