-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1973 from ever-co/devops/render
Render
- Loading branch information
Showing
2 changed files
with
118 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |