Skip to content

Merge pull request #234 from harvard-edge/dev #62

Merge pull request #234 from harvard-edge/dev

Merge pull request #234 from harvard-edge/dev #62

name: Build on dev (Ubuntu)
on:
pull_request:
branches:
- dev
push:
branches:
- dev
jobs:
build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Quarto
uses: quarto-dev/quarto-actions/setup@v2
- name: Build on Ubuntu
run: quarto render --to html
- name: stage files
uses: cpina/[email protected]
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
with:
source-directory: '_book'
destination-github-username: 'harvard-edge'
destination-repository-name: 'cs249r_book_dev'
user-email: [email protected]
target-branch: 'main'
target-directory: 'docs'
commit-message: 'Push dev branch build'