Skip to content

Commit

Permalink
Update elastic-beanstalk-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CatalinMo authored Jun 6, 2024
1 parent 1c6b3e4 commit 740ca4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/elastic-beanstalk-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
projectName=$(grep '^projectName=' gradle.properties | cut -d'=' -f2)
version=$(grep '^version=' gradle.properties | cut -d'=' -f2)
appName="${projectName}-${version}"
versionLabel="${version}-${GITHUB_SHA}"
versionLabel="${version}-${timestamp}"
echo "APP_NAME=$appName" >> $GITHUB_ENV
echo "::set-output name=app_name::${appName}"
echo "::set-output name=version_label::${versionLabel}"
Expand All @@ -55,7 +55,7 @@ jobs:
uses: actions/download-artifact@v2
with:
name: jar-artifact
- name: Deploy to EB
- name: Deploy to Elastic Beanstalk
uses: einaregilsson/beanstalk-deploy@v20
with:
aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit 740ca4f

Please sign in to comment.