Skip to content

Commit 6a50152

Browse files
author
Jérémie Bertrand
committed
Reduce icon size
Trying to clear FTP folder before deploy
1 parent 0fc3188 commit 6a50152

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

appveyor.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
version: 1.0.{build}
22

3+
environment:
4+
ftp-password:
5+
secure: eK/zCvZEGU6BcRfo1CoYng2sjeywm69Q0JpJoJBdYqA=
6+
37
build_script:
48
- ps: Pretzel/Pretzel bake site
59

@@ -9,6 +13,9 @@ artifacts:
913
- path: site/_site
1014
name: compiled_site
1115

16+
before_deploy:
17+
- ps: "$ftprequest = [System.Net.FtpWebRequest]::Create(laedit.net:21/httpdocs/readinglist) \n\n$ftprequest.Credentials = New-Object System.Net.NetworkCredential(zlaeditn12713ne, $env:ftp-password) \n\n$ftprequest.Method = [System.Net.WebRequestMethods+Ftp]::DeleteFile \n\n$ftprequest.GetResponse()"
18+
1219
deploy:
1320
- provider: FTP
1421
host: laedit.net
@@ -17,5 +24,4 @@ deploy:
1724
password:
1825
secure: eK/zCvZEGU6BcRfo1CoYng2sjeywm69Q0JpJoJBdYqA=
1926
folder: /httpdocs/readinglist
20-
artifact: site\compiled_site.zip
2127
application: site\compiled_site.zip

noun_9405.png

-76.7 KB
Loading

0 commit comments

Comments
 (0)