Skip to content

Commit

Permalink
chore: prod pipeline 32
Browse files Browse the repository at this point in the history
  • Loading branch information
jhonsfran1165 committed Dec 31, 2024
1 parent 4d93858 commit 370212f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
5 changes: 3 additions & 2 deletions .github/actions/install/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ runs:

steps:
- name: Set up pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
if: ${{ inputs.ts == 'true' }}
with:
version: 8.15.4
Expand All @@ -22,7 +22,8 @@ runs:
uses: actions/setup-node@v4
if: ${{ inputs.ts == 'true' }}
with:
node-version: 20.11.0
node-version: 20.11.1
cache: 'pnpm'

- name: Get pnpm store directory
if: ${{ inputs.ts == 'true' }}
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/job_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: Infisical/[email protected]
name: Pull secrets from Infisical
if: ${{ inputs.pull_secrets }}
with:
client-id: ${{ secrets.MACHINE_IDENTITY_CLIENT_ID }}
client-secret: ${{ secrets.MACHINE_IDENTITY_CLIENT_SECRET }}
env-slug: ${{ inputs.env_slug }}
project-slug: ${{ inputs.project_slug }}
export-type: "file"
file-output-path: "/.env"
secret-path: "/"
recursive: true

- uses: cardinalby/export-env-action@v2
with:
envFile: '.env'
export: true
# export everything except DATABASE_URL using regex
filter: ^(?!DATABASE_URL$).*$
mask: true

- uses: ./.github/actions/install
name: Install dependencies
with:
Expand Down

0 comments on commit 370212f

Please sign in to comment.