Skip to content

Commit

Permalink
Merge pull request #40 from jpcmf/develop
Browse files Browse the repository at this point in the history
Develop to Main
  • Loading branch information
jpcmf authored Nov 8, 2024
2 parents 16fa010 + 540b680 commit 2e3fef6
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Vercel Development Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
SHELL: /bin/bash # Specify the shell
SHELL: /bin/bash
on:
push:
branches:
- main
jobs:
Deploy-development:
Deploy-Production:
runs-on: ubuntu-latest
steps:
# CHECKOUT REPOSITORY
Expand All @@ -23,15 +23,14 @@ jobs:
- name: Install pnpm
run: npm install -g pnpm

# SET UP PNPM GLOBAL BIN DIRECTORY WITH EXPLICIT SHELL
# MANUALLY SET PNPM_HOME AND ADD TO PATH
- name: Set up pnpm global bin directory
run: pnpm setup
env:
SHELL: /bin/bash

# ADD PNPM TO PATH
- name: Add pnpm to PATH
run: echo "export PATH=$(pnpm bin):\$PATH" >> $GITHUB_ENV
run: |
export PNPM_HOME="$HOME/.pnpm"
mkdir -p "$PNPM_HOME"
echo "PNPM_HOME=$PNPM_HOME" >> $GITHUB_ENV
echo "PATH=$PNPM_HOME/bin:$PATH" >> $GITHUB_ENV
shell: bash

# INSTALL DEPENDENCIES WITH PNPM
- name: Install dependencies
Expand Down

0 comments on commit 2e3fef6

Please sign in to comment.