Skip to content

Commit

Permalink
ci: PLT-526: Publish docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitabelonogov committed Oct 15, 2024
1 parent 0550736 commit c1d02c4
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "Publish Docs"

on:
push:
branches:
- master

concurrency:
group: ${{ github.workflow }}-${{ github.sha }}

jobs:
publish:
name: "Publish Docs"
runs-on: ubuntu-latest
steps:
- uses: hmarr/debug-action@v3.0.0

- name: Checkout
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4

- name: Download Fern
run: npm install -g fern-api

- name: Generate and Publish
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: fern generate --docs

0 comments on commit c1d02c4

Please sign in to comment.