Skip to content

Commit

Permalink
add preview action
Browse files Browse the repository at this point in the history
  • Loading branch information
hrodmn committed Nov 15, 2024
1 parent bbb8a56 commit 9472b5a
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 11 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/quarto-preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Quarto Preview

on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed

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

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

- name: Render
uses: quarto-dev/quarto-actions/render@v2

- name: Deploy PR Preview
uses: rossjrw/[email protected]
with:
source-dir: ./_site/
12 changes: 6 additions & 6 deletions .github/workflows/quarto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Publish to GitHub Pages (and render)
# uses: quarto-dev/quarto-actions/publish@v2
# with:
# target: gh-pages
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to GitHub Pages (and render)
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

11 changes: 6 additions & 5 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Presentation Template"
subtitle: "Create beautiful interactive slide decks with Reveal.js"
title: "Scaling STAC"
subtitle: "Deploying and maintaining STAC infrastructure for large‐scale applications"
date: "November 19, 2024"
format:
revealjs:
center: false
Expand All @@ -17,10 +18,10 @@ format:
controls-tutorial: true
---

# First slide
# STAC refresher

<iframe src="https://giphy.com/embed/hRsayJrDAx8WY" width="371" height="480" style="" frameBorder="0" class="giphy-embed" allowFullScreen></iframe><p><a href="https://giphy.com/gifs/funny-food-hRsayJrDAx8WY">via GIPHY</a></p>

- you can make pretty slides in a markdown document!
- check out the [Quarto reveal.js guide](https://quarto.org/docs/presentations/revealjs/) for tips

# Pretty Code {auto-animate="true"}

Expand Down

0 comments on commit 9472b5a

Please sign in to comment.