Skip to content

Merge branch 'main' of github.com:byuccl/byuccl.github.io #347

Merge branch 'main' of github.com:byuccl/byuccl.github.io

Merge branch 'main' of github.com:byuccl/byuccl.github.io #347

name: Copy to CCL website
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
- name: Building website
run: make build
- name: Uploading website
run: |
sudo apt-get install -y sshpass
sshpass -v -p "${{ secrets.PASSWORD }}" scp -o StrictHostKeyChecking=no -P ${{ secrets.PORT }} -r _site/* ${{ secrets.USERNAME }}@${{ secrets.HOST }}:groups/ccl/www/