Skip to content

Add silabus OSN 2024 #138

Add silabus OSN 2024

Add silabus OSN 2024 #138

Workflow file for this run

name: ci
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
env:
DEPLOYMENT_HOST: ${{ secrets.DEPLOYMENT_HOST }}
DEPLOYMENT_KNOWN_HOSTS: ${{ secrets.DEPLOYMENT_KNOWN_HOSTS }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.DEPLOYMENT_PRIVATE_KEY }}
known_hosts: ${{ secrets.DEPLOYMENT_KNOWN_HOSTS }}
- name: Rsync app/
run: rsync -avzh app/ root@${DEPLOYMENT_HOST}:/var/www/html/osn/app
- name: Rsync public/
run: rsync -avzh public/ root@${DEPLOYMENT_HOST}:/var/www/html/osn/public