Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

set up GitHub Actions so site will rebuild without need for local build #41

Open
jules32 opened this issue Jun 23, 2023 · 2 comments
Open
Labels
later (2.0) We'll do this later, after the new website launch

Comments

@jules32
Copy link
Contributor

jules32 commented Jun 23, 2023

Once we're sure all the redirects and everything is working as we want it, let's get GA working

https://quarto.org/docs/publishing/netlify.html#github-action

@jules32 jules32 added the later (2.0) We'll do this later, after the new website launch label Jun 23, 2023
@jules32
Copy link
Contributor Author

jules32 commented Jun 24, 2023

This was the GitHub Action for the old events site (openscapes.github.io/events) - which I've just deleted

on:
  push:
    branches: main

name: Render and Publish

jobs:
  build-deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Check out repository
        uses: actions/checkout@v2 
        
      - 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: 0.9.600
      
      # 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

@stefaniebutland
Copy link
Member

+100 for this issue. Craving it. Sometimes I really want to make a small change via browser.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
later (2.0) We'll do this later, after the new website launch
Projects
None yet
Development

No branches or pull requests

2 participants