Skip to content

Commit

Permalink
add actions for file transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
Naeemkh committed May 1, 2024
1 parent de1708a commit 9a61428
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build_pages_develop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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'

0 comments on commit 9a61428

Please sign in to comment.