Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: Build VU1 Documentation
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.9
- run: pip install mkdocs
- run: pip install -r requirements.txt
- run: mkdocs build
# Upload build artifacts
- name: Upload build artifact
uses: actions/upload-artifact@v3
with:
name: VU1-Documentation
path: ${{ github.workspace }}/public_html/*
if: ${{ always() }}
# Deploy docs
- name: Copy files via scp
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
source: public_html/*
target: /var/www/docs.vudials.com