Skip to content

Merge pull request #173 from Try-AngIe/cicd #117

Merge pull request #173 from Try-AngIe/cicd

Merge pull request #173 from Try-AngIe/cicd #117

Workflow file for this run

# name: FE PIPELINE
# on:
# push:
# branches:
# - dev
# paths:
# - 'client/**'
# permissions:
# contents: write
# pages: write
# id-token: write
# jobs:
# fe-pipeline:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Git Config
# run: |
# git config --global user.name 'github-actions[bot]'
# git config --global user.email 'github-actions[bot]@users.noreply.github.com'
# - name: LOG
# run: |
# timestamp=$(date +"%Y-%m-%d_%H-%M-%S")
# log_file="DEPLOY_LOG/client/FE_CD_LOG_$timestamp.log"
# mkdir -p DEPLOY_LOG/client
# echo "프론트엔드 배포 로그" >> "$log_file"
# git add "$log_file"
# git commit -m "release: $timestamp FE 배포 완료"
# git push origin dev
# - name: Merge to Prod
# run: |
# git fetch origin
# git checkout prod || git checkout -b prod
# git merge dev
# git push origin prod