Skip to content

Commit

Permalink
Chore(ci): Introduce Supernova documentation publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
literat committed Nov 9, 2023
1 parent eb16312 commit 26e593b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/supernova.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Supernova

on:
push:
branches:
- main

jobs:
publish:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
name: Publish Supernova Documentation
runs-on: ubuntu-20.04
steps:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'

- name: Publish Supernova Documentation
run: npx @supernovaio/cli publish-documentation --apiKey="${{secrets.SUPERNOVA_TOKEN}}" --designSystemId="${{secrets.SUPERNOVA_DS_ID}"

0 comments on commit 26e593b

Please sign in to comment.