Skip to content

Merge pull request #312 from rainett/registration #103

Merge pull request #312 from rainett/registration

Merge pull request #312 from rainett/registration #103

Workflow file for this run

name: Deploy master
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Generate deployment package
run: mvn -B package --file pom.xml
- name: Deploy to EB
uses: einaregilsson/beanstalk-deploy@v4
with:
aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
application_name: broscorp-community
environment_name: BroscorpCommunity-env
version_label: ${{ github.sha }}
region: eu-west-1
deployment_package: bot/target/bot-1-SNAPSHOT.jar