Skip to content

Commit

Permalink
Point to localhost
Browse files Browse the repository at this point in the history
  • Loading branch information
jslay-excella committed Dec 1, 2022
1 parent f361ce5 commit e02eb6c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
URL:
required: false
type: string
default: https://django-learn.k8s.jslay.net
default: https://django-learn.localhost
secrets:
TWITCH_CLIENT_ID:
required: true
Expand All @@ -34,7 +34,7 @@ jobs:
run: |
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
TAG=$(echo $VERSION | sed -e 's/^v//')
helm upgrade --install --wait django-learn --namespace django-learn \
helm upgrade --install --wait django-learn \
--set image.repository=ghcr.io/jslay88/django_learn \
--set image.tag=$TAG \
--set image.pullPolicy=Always \
Expand All @@ -47,6 +47,6 @@ jobs:
--set ingress.tls[0].secretName=django-learn-tls \
--set ingress.tls[0].hosts[0]=${{ inputs.URL }} \
--set-string ingress.annotations."acme\.cert-manager\.io/http01-edit-in-place"=true \
--set ingress.annotations."cert-manager\.io/cluster-issuer"=letsencrypt \
--set ingress.annotations."cert-manager\.io/cluster-issuer"=self-signed \
--set postgresql.enabled=true \
helm/django-learn
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: ./.github/workflows/deploy.yml
with:
ENVIRONMENT: production
URL: django-learn.k8s.jslay.net
URL: django-learn.localhost
secrets:
TWITCH_CLIENT_ID: ${{ secrets.TWITCH_CLIENT_ID }}
TWITCH_CLIENT_SECRET: ${{ secrets.TWITCH_CLIENT_SECRET }}

0 comments on commit e02eb6c

Please sign in to comment.