Skip to content

Adds copying environment file to CI #3

Adds copying environment file to CI

Adds copying environment file to CI #3

Workflow file for this run

name: Dokumentation
on:
push:
branches:
- main
jobs:
build:
name: Dokumentation erstellen
runs-on: ubuntu-latest
steps:
- name: Install SSH key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSH_KEY }}
name: id_ed25519
known_hosts: ${{ secrets.KNOWN_HOSTS }}
- name: Checkout
uses: actions/checkout@v2
- name: Setup NPM
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
working-directory: ./docs
run: npm install
- name: Build
working-directory: ./docs
run: npm run build
- name: Copy to server
working-directory: ./docs
run: rsync --delete -rvzh ./build/ [email protected]:/srv/http/docs.schulit.de/wlan-codes