From 316f3b47a8c68cd741a4b497b93f556af6694a77 Mon Sep 17 00:00:00 2001
From: nestrada2 <81432763+nestrada2@users.noreply.github.com>
Date: Wed, 7 Feb 2024 18:05:49 -0800
Subject: [PATCH] prepare for Heroku deployment
---
.github/workflows/main.yml | 17 +++++++++++++++++
pom.xml | 22 ++++++++++++++++++++++
2 files changed, 39 insertions(+)
create mode 100644 .github/workflows/main.yml
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
+
+
+
+
+
+