Skip to content

Update termine.json #94

Update termine.json

Update termine.json #94

Workflow file for this run

name: πŸš€ Deploy website on tag
on:
push:
tags:
- '*'
jobs:
build:
if: github.event.base_ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: ↧ Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: ↧ npm ci
run: npm ci
- name: βš› Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.92.0'
extended: true
- name: βš™ Build
run: npm run build
- name: 𝍖 Create Index
run: npm run index
- name: 🏷️ Get tag name
run: echo "TAG_NAME=$(echo ${GITHUB_REF#refs/*/} | tr / -)" >> $GITHUB_ENV
- name: πŸ“‚ Archive
uses: JamesIves/[email protected]
with:
branch: release-diff
folder: public
clean: true
commit-message: Release ${{ env.TAG_NAME }}
- name: πŸŽ‰ Deploy
uses: SamKirkland/[email protected]
with:
server: mv-wollbach.de
username: ${{ secrets.ftp_user }}
password: ${{ secrets.ftp_password }}
protocol: ftps
local-dir: ./public/
server-dir: /html/
security: loose
port: 21