Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 19 additions & 28 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,19 @@
<html>
<head>
<title>Sample "Hello, World" Application</title>
</head>
<body bgcolor=white>

<table border="0">
<tr>
<td>
<img src="images/tomcat.gif">
</td>
<td>
<h1>Sample "Hello, World" Application</h1>
<p>This is the home page for a sample application used to illustrate the
source directory organization of a web application utilizing the principles
outlined in the Application Developer's Guide.
</td>
</tr>
</table>

<p>To prove that they work, you can execute either of the following links:
<ul>
<li>To a <a href="hello.jsp">JSP page</a>.
<li>To a <a href="hello">servlet</a>.
</ul>

</body>
</html>
name: Industrialisation continue sur le serveur AWS (Tomcat)
on: push
jobs:
Deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: |
jar cvf boris.war *
- name: copy file via ssh password
uses: appleboy/scp-action@master
with:
host: ${{ secrets.HOST_DNS }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.EC2_SSH_KEY }}
port: ${{ secrets.DEPLOY_PORT }}
source: "boris.war"
target: "/opt/tomcat/webapps"