Skip to content

Commit

Permalink
[INTERNAL] Remove schema / 404 page update from v3 deployment
Browse files Browse the repository at this point in the history
Those files should only be updated via main branch deployment.
  • Loading branch information
matz3 committed Jul 24, 2024
1 parent 088a295 commit a2513b8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,15 @@ jobs:
- name: Publish docs
run: docker run --rm -v $(pwd):/docs --entrypoint mike --env GIT_COMMITTER_NAME="${GIT_COMMITTER_NAME}" --env GIT_COMMITTER_EMAIL="${GIT_COMMITTER_EMAIL}" $DOCKER_IMAGE set-default stable --push

- name: Build Schema
run: |
npm run schema-generate
npm run schema-workspace-generate
- name: Checkout gh-pages
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
- name: Copy the additional resources to gh-pages
run: |
rm -rf ./gh-pages/schema
cp -R ./site/schema ./gh-pages/
rm -rf ./gh-pages/$MIKE_VERSION/api
cp -R ./site/api ./gh-pages/$MIKE_VERSION/
cp ./scripts/resources/custom404.html ./gh-pages/404.html
- name: Publish Docs
run: |
cd ./gh-pages
Expand Down

0 comments on commit a2513b8

Please sign in to comment.