Skip to content

Commit

Permalink
delete docs build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasJenicek committed Oct 31, 2024
1 parent 8c4e47a commit 7a16d3a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 43 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,23 @@ jobs:
- name: Build
run: pnpm run build

- name: setup-go
uses: actions/setup-go@v5
with:
go-version: "1.22.5"

- name: Update openapi docs
run: |
# Read the changed files from the previous step
go mod init github.com/0xsequence/docs
go get github.com/mikefarah/yq/v4@latest
go run github.com/mikefarah/yq/v4 -e -i '.security=[{"ApiKeyAuth":[]}]' docs/pages/api/api/api.gen.yaml
go run github.com/mikefarah/yq/v4 -e -i '.security=[{"ApiKeyAuth":[]}]' docs/pages/api/analytics/analytics.gen.yaml
go run github.com/mikefarah/yq/v4 -e -i '.security=[{"ApiKeyAuth":[]}]' docs/pages/api/marketplace/marketplace.gen.yaml
go run github.com/mikefarah/yq/v4 -e -i '.security=[{"ApiKeyAuth":[]}, {"BearerAuth":[]}]' docs/pages/api/metadata/metadata.gen.yaml
go run github.com/mikefarah/yq/v4 -e -i '.security=[{"ApiKeyAuth":[]}]' docs/pages/api/indexer/indexer.gen.yaml
go run github.com/mikefarah/yq/v4 -e -i '.security=[{"ApiKeyAuth":[]}]' docs/pages/api/relayer/relayer.gen.yaml
- name: Touch .nojeykll
run: touch ./docs/dist/.nojekyll

Expand Down
43 changes: 0 additions & 43 deletions .github/workflows/scheme.yml

This file was deleted.

0 comments on commit 7a16d3a

Please sign in to comment.