diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..c3528af --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,23 @@ +name: Quarto Publish + +on: + push: + branches: main + workflow_dispatch: + +jobs: + build-deploy: + runs-on: ubuntu-latest + permissions: + contents: write + steps: + - name: Check out repository + uses: actions/checkout@v3 + + - name: Install Quarto + uses: quarto-dev/quarto-actions/setup@v2 + + - name: Publish to GitHub Pages (and render) + uses: quarto-dev/quarto-actions/publish@v2 + with: + target: gh-pages diff --git a/.github/workflows/slides.yml b/.github/workflows/slides.yml deleted file mode 100644 index 1bc44cf..0000000 --- a/.github/workflows/slides.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Deploy Quarto Slides - -on: - push: - branches: - - main - workflow_dispatch: - -concurrency: - cancel-in-progress: true - group: >- - ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - -jobs: - deploy-slides: - env: - BUNDLE_GEMFILE: ${{ github.workspace }}/quarto/template/Gemfile - runs-on: ubuntu-latest - steps: - - name: Checkout source - uses: actions/checkout@v4 - - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: "3.2" - bundler-cache: true - - - name: Install and Build - working-directory: ./quarto/template - run: >- - JEKYLL_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} - JEKYLL_ENV=production - bundle exec jekyll build - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./quarto/template/_site - publish_branch: gh-pages - user_name: github-actions[bot] - user_email: github-actions[bot]@users.noreply.github.com diff --git a/index.qmd b/index.qmd new file mode 100644 index 0000000..099c74a --- /dev/null +++ b/index.qmd @@ -0,0 +1,25 @@ +--- +title: "Quarto Presentations" +subtitle: "Create beautiful interactive slide decks with Reveal.js" +format: + revealjs: + slide-number: true + chalkboard: + buttons: false + preview-links: auto + logo: quarto-logo.png + css: quarto-styles.css + footer: +--- + +## Hello, There + +This presentation will show you examples of what you can do with Quarto and [Reveal.js](https://revealjs.com), including: + +- Presenting code and LaTeX equations +- Including computations in slide output +- Image, video, and iframe backgrounds +- Fancy transitions and animations +- Printing to PDF + +...and much more diff --git a/quarto-logo.png b/quarto-logo.png new file mode 100644 index 0000000..616d17b Binary files /dev/null and b/quarto-logo.png differ diff --git a/quarto-styles.css b/quarto-styles.css new file mode 100644 index 0000000..79ddb9a --- /dev/null +++ b/quarto-styles.css @@ -0,0 +1,9 @@ + + +.border { + border: 1px solid #dee2e6; +} + +.border-thick { + border-width: 3px; +}