Skip to content

Commit

Permalink
Task: workflow 테스트 version 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
qro-story committed Sep 18, 2024
1 parent 7b2ab9b commit 6b9ab75
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
cache: 'yarn'
- name: Generate deployment package
run: zip -r ${{ github.sha }}.zip . -x "*.git*" node_modules
- name: Generate unique version label
id: generate_version
run: echo "version=$(date +'%Y%m%d%H%M%S')-${{ github.sha }}" >> $GITHUB_OUTPUT

- name: Deploy to EB
uses: einaregilsson/beanstalk-deploy@v21
Expand All @@ -34,4 +37,4 @@ jobs:

- name: Update EB environment
run: |
eb deploy --label ${{ github.sha }} # Git commit SHA 기반 고유 버전 태그
eb deploy --label ${{ steps.generate_version.outputs.version }}

0 comments on commit 6b9ab75

Please sign in to comment.