Skip to content

Commit

Permalink
MRG: Merge pull request #3 from octue/add-service-registry
Browse files Browse the repository at this point in the history
Add service registry
  • Loading branch information
cortadocodes authored Nov 16, 2023
2 parents 162f3c7 + 497aebd commit 37b1e14
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 9 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,3 +263,23 @@ jobs:
# run: |
# echo "${{ steps.deploy_worker.outputs.url }}"
# echo "${{ steps.deploy_api.outputs.url }}"

release:
# This job will only run if the PR has been merged (and not closed without merging).
if: "github.event.pull_request.merged == true"
runs-on: ubuntu-latest
needs: [info, deploy]
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Create release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, no need to create your own.
with:
tag_name: ${{ needs.info.outputs.version }}
release_name: ${{ github.event.pull_request.title }}
body: ${{ github.event.pull_request.body }}
draft: false
prerelease: false
6 changes: 0 additions & 6 deletions .github/workflows/shell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ on:
image:
description: "The URI of the image to run as a container"
type: string
environment:
description: "The environment to run the container in"
type: choice
options:
- staging
- production

jobs:
info:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "exa"
version = "0.1.1"
version = "0.2.0"
description = ""
authors = ["Tom Clark <[email protected]>"]
license = "MIT"
Expand Down
6 changes: 4 additions & 2 deletions server/example/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
from django.urls import re_path
from django.urls import include, re_path


urlpatterns = []
urlpatterns = [
re_path(r"", include("django_twined.urls")),
]

0 comments on commit 37b1e14

Please sign in to comment.