Skip to content
Permalink
Browse files

Fixed deploy destionation

  • Loading branch information...
Dax89 committed Mar 3, 2019
1 parent 3d619b0 commit cab6a9ce69478753e900361d3e11879210319946
Showing with 7 additions and 3 deletions.
  1. +6 −2 appveyor.yml
  2. +1 −1 ci/deploy.py
@@ -1,3 +1,7 @@
#
# https://ci.appveyor.com/tools/encrypt
#

version: "{build}"
image: Visual Studio 2017

@@ -7,12 +11,12 @@ branches:

init:
- ps: Update-AppveyorBuild -Version "REDasm_Windows_x86_64_$(Get-Date -format ddMMyyyy)_$env:appveyor_build_number"
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))

environment:
build_repo: REDasm-Builds
deploy_destination:
secure: 2MDeXDVdvbgID1LEIO1SDXfW9+a4IyhjiZe3g3U+nvgM9t+kVhYr++H4bxH0/IKW
secure: 2MDeXDVdvbgID1LEIO1SDXfW9+a4IyhjiZe3g3U+nvh4nsnOAjn5TJBNhTyU6mBx
deploy_token:
secure: Xbr6ydXfGEYEkR7QKs4thKjmW7hSdqCk9POPFHjPfXrDkXrGM2sYjjYlrmjgjNWeRcmRVYusryTgQ5YMKQhFSKepX+0i8eSlGVpb6wLfn66pyNxRkwSnEEoWSLiP/lDufVYJYFsLhOlR12CavafdomsrjGcjX1i0eFkfGB2O165zjdw1dGTFY6UMLQQ1aHkdZtBt/PeQZRGc1yY7byUR4yf3ljvvA7bpdX/Dl3JBAk2UEj+wUBjmrqhO9joJJcb0Ea3ahRGmexAdd8ervSwL0l3GHLkBFsJPX/nouBWX2mSgHIR8lHMcW7Ek0ldcUTEGyZe/UFHesurvS1IlPyLyM0jZrmZmtKLuLSYFpLbOgaxZO+Ul4GeBzFwD1Aonc9gFe3V4cKFEL54tcRGLgJps4nXamJyCm9zmIE2dVFp5DsruOccvMO6Q2sMTZuJ0SzPcr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FT3SWitrRB4uF1Igf7OLwsaEK66FxiBSg8fUoH30YfHawgZXSgcHh3PRriLLkEltTHw4mGe9c0m+staO6XT1D2yCSs5jpbzCpYpe0U75MMIp0ziDRmv+5DCVT7HKNgduAb+p1IKcW23Hk9H3ychMK+CIOBaVtBxUIgwULNPv4yt2VT9KYFmHuJ2PxwnmF4WBFjAUyBizP2qE6V9SC8RwZ9QnE31nv6qhLkx+Udx+ImksRZatHOUG07iA87zW/nVF6nmpgzOK36MrsJD8OLMW3eXJt01O+LYjviWPzJ72D4XsZqDIHo0kpZs14NNZW2K6enjYTjP4RkINvHB7n9J8IeClnRAYUjmWSaKKlsMO0pL9mhgirzFkH4g9EYqR+ftJvFri1/+dUusJazsO5SCmM4XWfaV9XohVpBXCkwFoejDdIayA5ulfs8PBx2he6y4FLwBG/Ykybz/vAuJ7Vg/0BdIMB0n+WALucn0ckzBjF8pTUwJXzDiCF6uR803DIeA3N0Kmrhueez2r9ZTXKY/wZZzxJUQmvT7ky2EaNh/W9KKRdIl1WBQcaDhcvWooPe9n8WVpMO4WwrdCkRV/PkZ750zzu+96DZdFU4bn/mf4vpqFvyD0H1+ghabTSJK0KdvTc6Kc5s9rUG

@@ -9,7 +9,7 @@ def do_deploy(filename):
fp = NamedTemporaryFile(delete=False)
fp.write(base64.b64decode(os.getenv("DEPLOY_TOKEN")))
fp.close();
subprocess.run(["scp", "-oStrictHostKeyChecking=no", "-i", [fp.name], filename, os.getenv("DEPLOY_DESTINATION")])
subprocess.run(["scp", "-oStrictHostKeyChecking=no", "-i", [fp.name], filename, os.getenv("DEPLOY_DESTINATION") + "/" + filename])
os.remove(fp.name)

os.chdir("..")

0 comments on commit cab6a9c

Please sign in to comment.
You can’t perform that action at this time.