Skip to content

Commit

Permalink
Add deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
danielxnj committed Nov 17, 2023
1 parent d87dd7a commit 162c04d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ jobs:
export POSTHOG_WEB_SERVICE_NAME=POSTHOG_WEB
export POSTHOG_WEB_SERVICE_PORT=8000
envsubst < posthog/.github/pr-deploy/tailscale.yaml.tmpl > posthog/.github/pr-deploy/tailscale.yaml
#envsubst < posthog/.github/pr-deploy/tailscale.yaml.tmpl > posthog/.github/pr-deploy/tailscale.yaml
envsubst < posthog/.github/pr-deploy/hobby.yaml.tmpl > posthog/.github/pr-deploy/hobby.yaml
kubectl -n $NAMESPACE delete -f posthog/.github/pr-deploy/tailscale.yaml || true
kubectl -n $NAMESPACE apply -f posthog/.github/pr-deploy/tailscale.yaml
kubectl -n $NAMESPACE delete -f posthog/.github/pr-deploy/hobby.yaml
#kubectl -n $NAMESPACE apply -f posthog/.github/pr-deploy/tailscale.yaml
kubectl -n $NAMESPACE apply -f posthog/.github/pr-deploy/hobby.yaml
echo "url=$NAMESPACE.${HOSTNAME}-hedgehog-kitefin.ts.net" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 162c04d

Please sign in to comment.