Skip to content

Fix CORS issue with allowed methods #2

Fix CORS issue with allowed methods

Fix CORS issue with allowed methods #2

Workflow file for this run

name: OpenAPI Schema
permissions:
contents: read
on:
push:
branches: ['master']
jobs:
openapi:
name: OpenAPI Schema
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-24.11
- uses: cachix/cachix-action@v14
with:
name: cs2kz
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: generate schema
run: nix run .#openapi-schema > openapi.json
- uses: actions/upload-artifact@v4
with:
name: openapi.json
path: openapi.json