From ef7880a9555aac9e0e7f4cacf1eb53f1bb3de4b5 Mon Sep 17 00:00:00 2001 From: OYC3928 <151013649+OYC3928@users.noreply.github.com> Date: Thu, 16 Nov 2023 11:29:27 +0100 Subject: [PATCH] Create document.html --- document.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 document.html diff --git a/document.html b/document.html new file mode 100644 index 00000000..865fb352 --- /dev/null +++ b/document.html @@ -0,0 +1,19 @@ +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"