add changes to push files to server
Deploy to Production / deploy-to-production (push) Successful in 28s
Deploy to Production / deploy-to-production (push) Successful in 28s
This commit is contained in:
@@ -12,15 +12,14 @@ jobs:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Copy docker-compose.yml to server
|
||||
- name: Copy files to server
|
||||
uses: appleboy/scp-action@v0.1.7
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.KEY }}
|
||||
source: "compose-file/docker-compose.yml"
|
||||
source: "configuration,docker-compose.yml,Dockerfile"
|
||||
target: "/home/${{ secrets.USERNAME }}/minecraft-server-ironveil"
|
||||
strip_components: 1
|
||||
|
||||
- name: Deploy and restart container
|
||||
uses: appleboy/ssh-action@v1.2.5
|
||||
|
||||
Reference in New Issue
Block a user