GitHub tag push doesn't trigger build
I trying to get my build artifacts released as GitHub release, which should be triggered by a tag push. However, no builds are triggered with my configuration on tag push (skip_tags is not included in the config, so it should be disabled by default?)
branches:
only:
- appveyor
except:
- master
- develop
...
deploy:
release: $(appveyor_repo_tag)
description: 'Release description'
provider: GitHub
auth_token:
secure: ...
artifact: thin-jar
draft: true
prerelease: false
on:
appveyor_repo_tag: true # deploy on tag push only
The webhook has delivered a push event with the following
payload..
{
"ref": "refs/tags/vX.Y.3",
"before": "0000000000000000000000000000000000000000",
"after": ...,
"created": true,
...
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 05 Nov, 2015 06:52 AM
I don't see the whole webhook payload, but if base_branch is not set AppVeyor sets it to tag name, so basically build doesn't come through branches filter. Try adding regex to allowed branches:
2 Posted by stefan.helfrich on 05 Nov, 2015 07:01 AM
Do you by chance mean base_ref instead of base_branch?
"base_ref": null,Since I haven't changed any settings on the repo, I imagine this to be rather default case. Maybe, a small remark should be added to the documentation?
3 Posted by stefan.helfrich on 05 Nov, 2015 07:35 AM
Thank you, Feodor! This has solved the issued.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:01 AM.