Skip to content

Commit

Permalink
test deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Sep 26, 2023
1 parent 09be9a5 commit 4da794b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 12 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/docker-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
name: Docker Deployment
name: Preview Deployment
on:
workflow_run:
workflows: ["publish"]
types:
- completed
push:
# workflow_run:
# workflows: ["publish"]
# types:
# - completed
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
deployment:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Docker Deployment
# if: ${{ github.event.workflow_run.conclusion == 'success' }}
name: Preview Deployment
runs-on: ubuntu-latest
environment: preview
steps:
Expand Down
13 changes: 8 additions & 5 deletions neodb.env.example
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
# NEODB Configuration

# copy along with docker-compose.yml, rename it to .env
# copy along with docker-compose.yml, rename this file to .env

# Change these before start the instance for the first time!!
NEODB_SECRET_KEY=change_me
NEODB_SITE_NAME=Example Site
NEODB_SITE_DOMAIN=example.site
# Use this for development in Github Codespace
# NEODB_SITE_DOMAIN=${CODESPACE_NAME}-8000.${GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN}

# Change these too
NEODB_SITE_NAME=Example Site
NEODB_SITE_LOGO=/logo.png
NEODB_SITE_ICON=/icon.png
NEODB_SITE_LINKS=@NiceDB=https://donotban.com/@testie,@NeoDB=https://mastodon.social/@neodb

# Turn off DEBUG if you are running as production service
NEODB_DEBUG=False
# Turn off DEBUG only when you are ready for production service
# NEODB_DEBUG=False

# HTTP port your reverse proxy should send request to
# NEODB_PORT=8000
Expand All @@ -30,5 +32,6 @@ NEODB_DEBUG=False
# TAKAHE_STATOR_CONCURRENCY=10
# TAKAHE_STATOR_CONCURRENCY_PER_MODEL=10

# pull NeoDB Docker image from another tag/branch
# pull NeoDB Docker image from a specific tag
# see available tags: https://hub.docker.com/r/neodb/neodb/tags
# NEODB_IMAGE=neodb/neodb:latest

0 comments on commit 4da794b

Please sign in to comment.