Skip to content

Adds download link for adauth-server #16

Adds download link for adauth-server

Adds download link for adauth-server #16

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build and Deploy
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 code
uses: actions/checkout@v2
with:
submodules: true
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.82.0'
- name: Install NPM
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Download dependencies
run: npm install
- name: Build assets
run: npm run build
- name: Build
run: hugo --minify
- name: Copy to server
run: rsync --delete -rvzh ./public/ [email protected]:/srv/http/schulit