Skip to content

Commit 3aa97be

Browse files
committed
try deploy section
1 parent 83bfc5a commit 3aa97be

File tree

2 files changed

+24
-10
lines changed

2 files changed

+24
-10
lines changed

.appveyor.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ install:
6464
- ps: .\.github\setup-wix.ps1
6565

6666
build_script:
67+
- echo "Artifact: ${env:ARTIFACT}"
6768
- echo "Using %APPVEYOR_BUILD_WORKER_IMAGE% with %VCVARSALL%"
6869
- call "%VCVARSALL%" %Platform%
6970
- ps: >-
@@ -113,11 +114,17 @@ build_script:
113114
- bash -c "git config --global user.name 'AppVeyor'"
114115
- bash -c "if [ \"$DO_PUSH_ARTIFACT\" = yes -a -z \"$APPVEYOR_PULL_REQUEST_NUMBER\" -a \"$APPVEYOR_REPO_NAME\" = \"OpenSC/OpenSC\" ]; then .github/push_artifacts.sh \"AppVeyor build ${APPVEYOR_BUILD_NUMBER}.${APPVEYOR_JOB_NUMBER}\"; fi"
115116

116-
deploy:
117-
- provider: Webhook
118-
url: https://app.signpath.io/API/v1/8d2463fe-39bd-4a41-bb72-f008b4b1fe17/Integrations/AppVeyor?ProjectSlug=OpenSC&SigningPolicySlug=release-signing&ArtifactConfigurationSlug=initial
119-
authorization:
120-
secure: 73Qvk9MbD7M7ZcoO6NnSH7zDA+9wSKZqNc602b1UeA5v6GsDyEvpCOlzJ9VvBcUuePTKBRsZ+uGQYKsddABgQA==
117+
deploy_script:
118+
- appveyor PushArtifact %ARTIFACT%.msi
119+
- appveyor PushArtifact %ARTIFACT%-Debug.zip
120+
121+
122+
# deploy:
123+
# - provider: Webhook
124+
# url: https://app.signpath.io/API/v1/8d2463fe-39bd-4a41-bb72-f008b4b1fe17/Integrations/AppVeyor?ProjectSlug=OpenSC&SigningPolicySlug=release-signing&ArtifactConfigurationSlug=initial
125+
# authorization:
126+
# secure: 73Qvk9MbD7M7ZcoO6NnSH7zDA+9wSKZqNc602b1UeA5v6GsDyEvpCOlzJ9VvBcUuePTKBRsZ+uGQYKsddABgQA==
127+
121128

122129
cache:
123130
- C:\zlib -> .appveyor.yml

appveyor.yml

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ install:
6464
- ps: .\.github\setup-wix.ps1
6565

6666
build_script:
67+
- echo "Artifact: ${env:ARTIFACT}"
6768
- echo "Using %APPVEYOR_BUILD_WORKER_IMAGE% with %VCVARSALL%"
6869
- call "%VCVARSALL%" %Platform%
6970
- ps: >-
@@ -113,11 +114,17 @@ build_script:
113114
- bash -c "git config --global user.name 'AppVeyor'"
114115
- bash -c "if [ \"$DO_PUSH_ARTIFACT\" = yes -a -z \"$APPVEYOR_PULL_REQUEST_NUMBER\" -a \"$APPVEYOR_REPO_NAME\" = \"OpenSC/OpenSC\" ]; then .github/push_artifacts.sh \"AppVeyor build ${APPVEYOR_BUILD_NUMBER}.${APPVEYOR_JOB_NUMBER}\"; fi"
115116

116-
deploy:
117-
- provider: Webhook
118-
url: https://app.signpath.io/API/v1/8d2463fe-39bd-4a41-bb72-f008b4b1fe17/Integrations/AppVeyor?ProjectSlug=OpenSC&SigningPolicySlug=release-signing&ArtifactConfigurationSlug=initial
119-
authorization:
120-
secure: 73Qvk9MbD7M7ZcoO6NnSH7zDA+9wSKZqNc602b1UeA5v6GsDyEvpCOlzJ9VvBcUuePTKBRsZ+uGQYKsddABgQA==
117+
deploy_script:
118+
- appveyor PushArtifact %ARTIFACT%.msi
119+
- appveyor PushArtifact %ARTIFACT%-Debug.zip
120+
121+
122+
# deploy:
123+
# - provider: Webhook
124+
# url: https://app.signpath.io/API/v1/8d2463fe-39bd-4a41-bb72-f008b4b1fe17/Integrations/AppVeyor?ProjectSlug=OpenSC&SigningPolicySlug=release-signing&ArtifactConfigurationSlug=initial
125+
# authorization:
126+
# secure: 73Qvk9MbD7M7ZcoO6NnSH7zDA+9wSKZqNc602b1UeA5v6GsDyEvpCOlzJ9VvBcUuePTKBRsZ+uGQYKsddABgQA==
127+
121128

122129
cache:
123130
- C:\zlib -> .appveyor.yml

0 commit comments

Comments
 (0)