Skip to content

Commit

Permalink
Merge pull request #23 from pool011/auto-upload-missoins
Browse files Browse the repository at this point in the history
Auto upload missions
  • Loading branch information
pool011 authored Mar 5, 2024
2 parents 28b211d + 90d8e80 commit 34869c0
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,12 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Uploading to Server
env:
SERVER: ${{ secrets.SERVER }}
U_USER: ${{ secrets.SERVER_USER }}
U_PASS: ${{ secrets.SERVER_PASSWORD }}
run: |
sshpass -p "$U_PASS" scp -r server_missions/* $U_USER@$SERVER:/C:/arma3/servers/server_master/mpmissions/.
uses: actions/checkout@v3
uses: Dylan700/sftp-upload-action@latest
with:
server: ${{ secrets.SERVER }}
username: ${{ secrets.SERVER_USER }}
password: ${{ secrets.SERVER_PASSWORD }}
port: 22
uploads: |
./server_missions/ => ./

0 comments on commit 34869c0

Please sign in to comment.