Skip to content

Commit

Permalink
Merge pull request #1973 from ever-co/devops/render
Browse files Browse the repository at this point in the history
Render
  • Loading branch information
evereq authored Dec 7, 2023
2 parents 4a9ba80 + ffa240e commit 3b40fe2
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/deploy-render-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Deploy to Render Dev

on:
workflow_run:
workflows: ['Build and Publish Docker Images Dev']
branches: [render]
types:
- completed

jobs:
deploy-demo:
runs-on: ubuntu-latest

environment: dev

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Render CLI
run: |
wget -O render https://github.com/render-oss/render-cli/releases/download/v0.1.8/render-linux-x86_64
chmod +x render
sudo mv render /usr/local/bin/render
mkdir ~/.render
cat << EOF > ~/.render/config.yaml
version: 1
sshPreserveHosts: true
profiles:
default:
defaultRegion: oregon
apiKey: ${{ secrets.RENDER_API_KEY }}
demo:
defaultRegion: oregon
apiKey: ${{ secrets.RENDER_API_KEY }}
EOF
- name: Deploy Services
run: |
cp .render/render.dev.yaml ./render.yaml
render blueprint launch --profile dev
77 changes: 77 additions & 0 deletions .render/render.dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
services:
- type: web
runtime: node
env: node
name: ever-teams-web
region: oregon
branch: develop
rootDir: ./apps/web
buildCommand: yarn; yarn build
startCommand: yarn start
envVars:
- key: RECOIL_DUPLICATE_ATOM_KEY_CHECKING_ENABLED
value: false
- key: NEXT_PUBLIC_GAUZY_API_SERVER_URL
value: https://apistage.gauzy.co
- key: GAUZY_API_SERVER_URL
value: https://apistage.gauzy.co/api
- key: NEXT_PUBLIC_GA_MEASUREMENT_ID
sync: false
- key: NEXT_PUBLIC_CAPTCHA_SITE_KEY
sync: false
- key: CAPTCHA_SECRET_KEY
sync: false
- key: INVITE_CALLBACK_URL
value: https://app.ever.team/auth/passcode
- key: VERIFY_EMAIL_CALLBACK_URL
value: https://app.ever.team/verify-email
- key: SMTP_FROM_ADDRESS
value: [email protected]
- key: SMTP_HOST
sync: false
- key: SMTP_PORT
sync: false
- key: SMTP_SECURE
sync: false
- key: SMTP_USERNAME
sync: false
- key: SMTP_PASSWORD
sync: false
- key: NEXT_PUBLIC_DISABLE_AUTO_REFRESH
value: false
- key: APP_NAME
value: 'Ever Teams'
- key: APP_SIGNATURE
value: 'Ever Teams'
- key: APP_LOGO_URL
value: 'https://app.ever.team/assets/ever-teams.png'
- key: NEXT_PUBLIC_COOKIE_DOMAINS
value: ever.team
- key: NEXT_PUBLIC_BOARD_APP_DOMAIN
value: https://board.ever.team
- key: NEXT_PUBLIC_BOARD_BACKEND_POST_URL
value: 'https://jsonboard.ever.team/api/v2/post/'
- key: NEXT_PUBLIC_BOARD_FIREBASE_CONFIG
sync: false
- key: NEXT_PUBLIC_MEET_DOMAIN
value: 'meet.ever.team'
- key: MEET_JWT_APP_ID
value: ever_teams
- key: MEET_JWT_APP_SECRET
sync: false
- key: SENTRY_ORG
value: ever-co
- key: SENTRY_PROJECT
value: ever-teams-web
- key: NEXT_PUBLIC_SENTRY_DSN
sync: false
- key: NEXT_PUBLIC_SENTRY_DEBUG
value: false
- key: NEXT_PUBLIC_JITSU_BROWSER_URL
sync: false
- key: NEXT_PUBLIC_JITSU_BROWSER_WRITE_KEY
sync: false
- key: NEXT_PUBLIC_GITHUB_APP_NAME
value: ever-github
- key: NEXT_PUBLIC_CHATWOOT_API_KEY
sync: false

0 comments on commit 3b40fe2

Please sign in to comment.