slides.sigit.io/.gitea/workflows/publish.yml
. 667b74aab5
All checks were successful
Release to Production / build_and_release (push) Successful in 3m4s
feat: berlin slides
2024-10-09 15:02:00 +01:00

31 lines
691 B
YAML

name: Release to Production
on:
push:
branches:
- main
jobs:
build_and_release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 18
- name: Install Dependencies
run: npm ci
- name: Recreate slides
run: npx @marp-team/marp-cli slides/2024berlin.md -o 2024berlin/index.html --html=true
- name: Release Build
run: |
npm -g install cloudron-surfer
surfer config --token ${{ secrets.CLOUDRON_SURFER_TOKEN }} --server slides.sigit.io
surfer put ./* / --all -d