Merge pull request #234 from harvard-edge/dev #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |