Skip to content

Release notes XTC 89 (#250) #239

Release notes XTC 89 (#250)

Release notes XTC 89 (#250) #239

Workflow file for this run

name: Deploy documentation
on:
push:
branches: [ master ] # Set a branch to deploy
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.131.0'
extended: true
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '16.x'
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install Node dependencies
run: npm ci
- name: Build the documentation
run: hugo
- name: Install
run: sudo apt-get install lftp
- name: Mirror the documentation on the FTP
run: .github/workflows/scripts/mirrorftp ${{ secrets.FTP_USERNAME }} ${{ secrets.FTP_PASSWORD }} ${{ secrets.FTP_HOST }}