some minor edit in replai docs #140
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install and Build | |
run: | | |
echo "Install Requirements." | |
sudo apt-get update | |
sudo apt-get install -y ruby ruby-dev build-essential libffi-dev zlib1g-dev liblzma-dev nodejs patch | |
sudo gem install bundler | |
cd ./slate_project && sudo bundle install && cd .. | |
npm install drafter | |
echo "Running install script" | |
sh update.sh | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4.3.0 | |
with: | |
branch: main | |
folder: docs | |
clean: true | |
clean-exclude: | | |
*/*.json | |
target-folder: 'docs' | |