Skip to content

add some docs

add some docs #18

Workflow file for this run

name: Deploy Astro Documentation
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Build Astro project
run: npm run build
- name: rsync deployments
uses: burnett01/rsync-deployments@7.1.0
with:
switches: -azv --delete
path: dist/
remote_path: public_html/
remote_host: ${{ secrets.REMOTE_HOST }}
remote_user: ${{ secrets.REMOTE_USER }}
remote_key: ${{ secrets.REMOTE_PRIVATE_KEY }}