diff --git a/.github/workflows/trigger-release.yml b/.github/workflows/trigger-release.yml deleted file mode 100644 index 550cbdcc..00000000 --- a/.github/workflows/trigger-release.yml +++ /dev/null @@ -1,28 +0,0 @@ -name: Trigger release - -on: - workflow_dispatch: - inputs: - version: - description: 'Documentation version (without prepending v).' - required: true - type: string - -jobs: - sync-branch: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - ref: production - fetch-depth: 0 - - - name: Merge main -> production and tag it - run: | - git --version - git config user.name github-actions - git config user.email github-actions@github.com - git merge origin/main - git tag v${{ inputs.version }} - git push - git push --tags diff --git a/README.md b/README.md index 2d4e6287..221e5844 100644 --- a/README.md +++ b/README.md @@ -54,8 +54,18 @@ Before releasing the documentation, update schemas and version of Restate artifa * Automatically by executing the _Pre-release updates_ workflow. * Manually, as described below. -Once the branch `main` is ready to be released, execute the _Trigger release_ workflow. This will merge `main` into `production` and add a tag. -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. +Once the branch `main` is ready to be released, merge `main` in `production` and push it, together with the release tag. E.g: + +```shell +git checkout production +git merge origin/main +git tag v0.3.0 +git push +git push --tags +``` + +Once pushed the update to the `production` branch, the website deployment will be updated. +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. ### Manually update the schemas