Skip to content

Merge pull request #126 from fingerprintjs/chore/fix-release-action #119

Merge pull request #126 from fingerprintjs/chore/fix-release-action

Merge pull request #126 from fingerprintjs/chore/fix-release-action #119

Workflow file for this run

name: Publish schema to GH pages and Readme
on:
push:
branches:
- main
jobs:
generate-schema:
name: Publish
runs-on: ubuntu-latest
environment: test
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: ./.github/actions/test-and-build
with:
testSubscriptions: '${{ secrets.TEST_SUBSCRIPTIONS }}'
- name: Deploy to GitHub pages 🚀📘
uses: JamesIves/github-pages-deploy-action@94f3c658273cf92fb48ef99e5fbc02bd2dc642b2
with:
branch: gh-pages
folder: dist
# Disable deploying the schema to Readme automatically for now
# - name: Deploy to Readme API Reference 🚀🦉
# uses: readmeio/rdme@4467d2538f9e1cc7f3ef3cf4f8201bee7a90396a
# with:
# rdme: openapi dist/schemas/fingerprint-server-api-readme-explorer.yaml --key=${{ secrets.README_API_KEY }} --id=647decb9c3af460722417604