Skip to content

Commit

Permalink
Remove Docker image build for documentation
Browse files Browse the repository at this point in the history
This commit removes the Docker builds for the documentation since it
is now publicly available on the internet.

This fixes #214.
  • Loading branch information
tillrohrmann committed Dec 14, 2023
1 parent 5231979 commit e880f27
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 153 deletions.
66 changes: 0 additions & 66 deletions .github/workflows/docker.yml

This file was deleted.

6 changes: 0 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,8 @@ on:
- v**

jobs:
build-docker-image:
name: Build docker image
uses: ./.github/workflows/docker.yml
secrets: inherit

create-release:
name: Create release
needs: [build-docker-image]
runs-on: ubuntu-latest

steps:
Expand Down
14 changes: 1 addition & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,6 @@

This repository contains Restate's documentation: https://docs.restate.dev/

## Offline use

You can read the Restate documentation offline by downloading the docker image:

```shell
docker run --rm -p 3000:80 ghcr.io/restatedev/documentation:latest
```

This will serve the documentation under `localhost:3000`.

You can also check this repository out and build the documentation yourself by following the instructions below.

## Developing the documentation

The documentation is built using [Docusaurus 2](https://docusaurus.io/).
Expand Down Expand Up @@ -59,7 +47,7 @@ git tag -m "Documentation v0.3.0" v0.3.0
git push --tags
```

The tag triggers the build of the new `restatedev/documentation:vX.Y.Z` container image and creates a draft [release on Github](https://github.com/restatedev/documentation/releases) that needs manual approval.
The tag triggers creating a draft [release on Github](https://github.com/restatedev/documentation/releases) that needs manual approval.
Moreover, it will push the latest `main` to the `production` branch which triggers the deployment of the documentation.

### Manually update the schemas
Expand Down
21 changes: 0 additions & 21 deletions docker/Dockerfile

This file was deleted.

47 changes: 0 additions & 47 deletions docker/nginx.conf

This file was deleted.

0 comments on commit e880f27

Please sign in to comment.