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
19 changes: 19 additions & 0 deletions document.html
Original file line number Diff line number Diff line change
@@ -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"