Port to GitHub actions & publish to Terraform registry (#39)

* Port to GitHub actions

* Fix

* Make docs terraform registry compatible
This commit is contained in:
Gavin Bunney
2021-07-14 17:47:45 -07:00
committed by GitHub
parent 4adaea3109
commit 0b0d03cda2
55 changed files with 265 additions and 7652 deletions

View File

@@ -0,0 +1,20 @@
# Resource: bitbucketserver_repository_hook
Manage a repository level hook. Extends what Bitbucket does every time a repository changes, for example when code is pushed or a pull request is merged.
## Example Usage
```hcl
resource "bitbucketserver_repository_hook" "main" {
project = "MYPROJ"
repository = "repo1"
hook = "com.atlassian.bitbucket.server.bitbucket-bundled-hooks:force-push-hook"
}
```
## Argument Reference
* `project` - Required. Project Key the repository is contained within.
* `repository` - Required. Repository slug to enable hook for.
* `hook` - Required. The hook to enable on the repository.
* `settings` - Optional. Map of values to apply as settings for the hook. Contents dependant on the individual hook settings.