From 1f3cd5a4d1663c4819058eb32c76408e27a85eff Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 3 Aug 2024 16:33:28 +0200 Subject: [PATCH] fix: cleanup old docs --- .github/workflows/deploy.yaml | 1 + README.md | 41 ----------------------------------- 2 files changed, 1 insertion(+), 41 deletions(-) delete mode 100644 README.md diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index a92cb3e..4522669 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -59,6 +59,7 @@ jobs: ref: docs - name: Copy docs for building run: | + rm -rf docs/* cp -r /tmp/temp-docs/docs/* docs ls docs - name: Push changes diff --git a/README.md b/README.md deleted file mode 100644 index 0c6c2c2..0000000 --- a/README.md +++ /dev/null @@ -1,41 +0,0 @@ -# Website - -This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator. - -### Installation - -``` -$ yarn -``` - -### Local Development - -``` -$ yarn start -``` - -This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. - -### Build - -``` -$ yarn build -``` - -This command generates static content into the `build` directory and can be served using any static contents hosting service. - -### Deployment - -Using SSH: - -``` -$ USE_SSH=true yarn deploy -``` - -Not using SSH: - -``` -$ GIT_USER= yarn deploy -``` - -If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.