Merge pull request #515 from Sara-Khosravi/fresh-security-chapter #319
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: | |
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' |