Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chaz-clark committed Feb 6, 2024
1 parent 41c50aa commit 028556d
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 75 deletions.
74 changes: 0 additions & 74 deletions .github/workflows/main.yml

This file was deleted.

36 changes: 36 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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
with:
# To install LaTeX to build PDF book
tinytex: true

- name: Install Python and Dependencies
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip'
- run: pip install jupyter numpy pandas scikit-learn plotly.express
#- run: pip install -r requirements.txt

- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/.quarto/
_site/
/_site/

0 comments on commit 028556d

Please sign in to comment.