Skip to content

docs: fix typo

docs: fix typo #77

Workflow file for this run

name: Build Website
on:
push:
branches:
- main
# - ci
paths:
- ".github/**"
- "www/**"
pull_request:
workflow_dispatch:
jobs:
build-website:
name: Build Website
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: cd www && npm ci
- name: Build Website
run: cd www && npm run build
- name: Deploy
if: github.ref == 'refs/heads/main'
env:
SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }}
run: |
eval $(ssh-agent -s)
ssh-add <(echo "$SSH_DEPLOY_KEY")
mkdir -p ~/.ssh/
echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
ssh [email protected] "rsync --version"
rsync -avz --delete www/build/ [email protected]:/var/www/oss.silitics.com/rugpi/