Skip to content

Commit

Permalink
Adds README docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vanny96 committed Feb 28, 2025
1 parent 8cbdd1f commit 2aad46a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ jobs:
fetch-depth: '0'

- name: Merge from ${{ inputs.source_branch }} to ${{ inputs.target_branch }}
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
git fetch origin
git checkout ${{ inputs.target_branch }}
Expand Down
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,16 @@ You can modify the template in the `app/views/` directory.
## Starting the application

`sbt run` and go in your browser to `http:localhost:9000`

# How to deploy a new version

Merging your PR will update the `main` branch only. You'll need to deploy it first in
[Acceptance](https://blog.acceptance.lunatech.com/), and then in [Production](https://blog.lunatech.com/).

You can do both with the help of GitHub Actions:
* [Deploy Acceptance](https://github.com/lunatech-labs/lunatech-blog-engine/actions/workflows/deploy_acceptance.yaml)
* [Deploy Production](https://github.com/lunatech-labs/lunatech-blog-engine/actions/workflows/deploy_production.yaml)

For the time being, the blog engine needs to be manually restarted in clever cloud as well. Please ask your colleagues
if you don't know how to do that.

0 comments on commit 2aad46a

Please sign in to comment.