Skip to content

Commit

Permalink
Merge pull request #18 from hyeeyoung/dev
Browse files Browse the repository at this point in the history
[mod] 브랜치 분기 수정
  • Loading branch information
hyejungg committed Mar 31, 2022
2 parents 6c21080 + 3476765 commit 869b090
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/pushServerCICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,19 @@ jobs:
echo FIREBASE_CLIENT_X509_CERT_URI=${{ secrets.FIREBASE_CLIENT_X509_CERT_URI }} >> .env
echo SLACK_API_TOKEN=${{ secrets.SLACK_API_TOKEN }} >> .env
# CI 통과 시 build하여 server.js 파일 생성
- name: Run build (main <- dev)
if: ${{ github.ref == 'refs/heads/main' }}
run: |
echo NODE_ENV="production" >> .env
npm run build:production --if-present
- name: Run build (dev <- *)
# CI 통과 시 build하여 server.js 파일 생성
- name: Run build
run: |
echo NODE_ENV="development" >> .env
npm run build --if-present
- name: Run build (main)
if: ${{ github.ref == 'main' }}
run: |
echo NODE_ENV="production" >> .env
npm run build:production --if-present
- name: Sharing files between jobs.
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit 869b090

Please sign in to comment.