Skip to content

Update register.json #99

Update register.json

Update register.json #99

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: 20.x
- name: ↧ npm ci
run: npm ci
- name: βš› Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.123.7'
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/github-pages-deploy-action@4.1.7
with:
branch: release-diff
folder: public
clean: true
commit-message: Release ${{ env.TAG_NAME }}
- name: πŸŽ‰ Deploy
uses: SamKirkland/FTP-Deploy-Action@4.2.0
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