diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..efc9238 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,17 @@ +name: Deploy + +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: akhileshns/heroku-deploy@v3.13.15 # This is the action + with: + heroku_api_key: 2e00f265-e8c3-4e42-8936-283e8783e83a + heroku_app_name: "rooster-search" #Must be unique in Heroku + heroku_email: "nestrada2@dons.usfca.edu" \ No newline at end of file diff --git a/pom.xml b/pom.xml index e40a898..6ee454e 100644 --- a/pom.xml +++ b/pom.xml @@ -55,6 +55,28 @@ maven-surefire-report-plugin 3.0.0-M7 + + + org.apache.maven.plugins + maven-dependency-plugin + 2.4 + + + package + copy + + + + org.eclipse.jetty + jetty-runner + 9.4.9.v20180320 + jetty-runner.jar + + + + + +