Skip to content

Add recylcing information (#18) #60

Add recylcing information (#18)

Add recylcing information (#18) #60

Workflow file for this run

name: Deploy Docs to Doc
on:
push:
branches:
- main
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
BuildAndMakeLive:
name: Build
runs-on: ubuntu-latest
steps:
- name: Fetch repo
uses: actions/checkout@v2
- name: Install docusaurus
run: yarn install
- name: Build docusaurus
run: yarn build
- name: Send build to doc
uses: appleboy/scp-action@master
with:
host: doc.net.fourieraudio.com
username: fourier
port: 22
key: ${{ secrets.SSH_DOC_FOURIER }}
source: "/home/runner/work/docs/docs/build"
target: "/home/fourier"
- name: Copy to live docusaurus docusaurus directory
uses: appleboy/ssh-action@master
with:
host: doc.net.fourieraudio.com
username: fourier
key: ${{ secrets.SSH_DOC_FOURIER }}
port: 22
script: |
sudo cp -r /home/fourier/github/workspace/build/* /var/www/docusaurus/live