Adds missing .gitignore file #1
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: 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 |