Skip to content

Merge pull request #115 from r-i-c-e-b-o-y/gohaun_manley #343

Merge pull request #115 from r-i-c-e-b-o-y/gohaun_manley

Merge pull request #115 from r-i-c-e-b-o-y/gohaun_manley #343

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/