Skip to content

Commit

Permalink
chore: removed tmp ci
Browse files Browse the repository at this point in the history
  • Loading branch information
geolffreym committed Dec 31, 2024
1 parent 4a5569d commit ad00de2
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
inputs:
environment:
description: "Deploy environment"
default: "next"
default: next
required: false
type: string

Expand All @@ -15,30 +15,15 @@ concurrency:

jobs:
app:
# if we add in the commit [no android] android build is ignored
if: ${{ !contains(github.event.head_commit.message, '[no android]') }}
environment: ${{ inputs.environment}}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "lts/*"

- name: Install dependencies
run: npm ci

- name: Collecting .env from dotenv-vault
run: npx dotenv-vault@latest pull -m ${{ secrets.DOTENV_ME }} -y

- name: Deploy to production
uses: johnbeynon/render-deploy-action@v0.0.8
with:
service-id: ${{ secrets.MY_RENDER_SERVICE_ID }}
api-key: ${{ secrets.MY_RENDER_API_KEY }}
service-id: ${{ secrets.RENDER_SERVICE_ID }}
api-key: ${{ secrets.RENDER_API_KEY }}
wait-for-success: true


0 comments on commit ad00de2

Please sign in to comment.