. 783a425905
All checks were successful
Release to Production / build_and_release (push) Successful in 27s
feat: initial commit
2024-11-07 16:41:35 +00:00

32 lines
718 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 -g install cloudron-surfer
npm install -g @marp-team/marp-cli
- name: Recreate slides
run: marp slides/intro2nostr.md -o intro2nostr/index.html --html=true
- name: Release Build
run: |
surfer config --token ${{ secrets.CLOUDRON_SURFER_TOKEN }} --server slides.nostrdev.com
surfer put ./* / --all -d