Skip to content

Commit

Permalink
Update appveyor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nstevens1040 authored Jun 8, 2021
1 parent 1bf1f4d commit 3a5d45c
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,20 @@ deploy:
username: nstevens1040
api_key:
secure: f+MLRpFFOj9kyNxbFyIt2n5I/dR48bmJ6qXRB/ageJ/18o61FDhu61IZgwk9KfqD
- provider: GitHub
description: 'Pushing Quick-Start.ps1'
auth_token:
secure: ElzOGqa44YRqwJ9jKgjBNDbPEmxb1Mg3I+0TxsPQg8OdUSOA8T8DwkwoKofTXMQT
artifact: C:\projects\execute-httprequest-scamo\Quick-Start.ps1
draft: false
prerelease: false
skip_tags: true
on:
branch: master
artifacts:
- path: quick-start.ps1
name: QuickStart
type: File
after_build:
- ps: >-
"`n [cmdletbinding()]`n Param()`n `$Assembly = [System.Convert]::FromBase64String(`"$([System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes("C:\projects\execute-httprequest-scamo\Execute.HttpRequest\bin\Debug\Execute.HttpRequest.dll")))`")`n `$Execute_HttpRequest = [System.Reflection.Assembly]::Load(`$assembly)`n if(`"Execute.HttpRequest`" -as [type])`n {`n Write-Host `"Assembly loaded successfully! `" -ForegroundColor Green -NoNewline`n Write-Host `"[Execute.HttpRequest]`" -ForegroundColor Yellow`n } else {`n Write-Host `"Assembly failed to load: `" -ForegroundColor Yellow -NoNewline`n Write-Host `"[Execute.HttpRequest]`" -ForegroundColor Red`n return `$Error`n }`n" | out-File C:\projects\execute-httprequest-scamo\Quick-Start.ps1 -encoding ascii; Push-AppveyorArtifact C:\projects\execute-httprequest-scamo\Quick-Start.ps1 -FileName Quick-Start.ps1
deploy:
description: 'Pushing Quick-Start.ps1'
provider: GitHub
auth_token:
secure: ElzOGqa44YRqwJ9jKgjBNDbPEmxb1Mg3I+0TxsPQg8OdUSOA8T8DwkwoKofTXMQT
artifact: C:\projects\execute-httprequest-scamo\Quick-Start.ps1
draft: false
prerelease: false
skip_tags: true
on:
branch: master # release from master branch only
# APPVEYOR_REPO_TAG: true # deploy on tag push only

0 comments on commit 3a5d45c

Please sign in to comment.