Skip to content

add actions for file transfer #1

add actions for file transfer

add actions for file transfer #1

name: Build on develop (Ubuntu)
on:
pull_request:
branches:
- develop
push:
branches:
- develop
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_develop'
user-email: [email protected]
target-branch: 'main'
target-directory: 'docs'
commit-message: 'Push develop branch build'