24 lines
479 B
YAML
24 lines
479 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: Release Build
|
||
|
run: |
|
||
|
npm -g install cloudron-surfer
|
||
|
surfer put --token ${{ secrets.DOCS_CLOUDRON_SURFER_TOKEN }} --server docs.sigit.io ./* /
|