github.com/ahmet2mir/goreleaser@v0.180.3-0.20210927151101-8e5ee5a9b8c5/www/docs/customization/includes.md (about)

     1  # Includes
     2  
     3  !!! success "GoReleaser Pro"
     4      Includes is a [GoReleaser Pro feature](/pro/).
     5  
     6  GoReleaser allows you to include other files from an URL or in the current filesystem.
     7  
     8  Files are included recursively in the order they are declared.
     9  
    10  ```yaml
    11  # .goreleaser.yml
    12  includes:
    13    - from_file:
    14        path: ./config/goreleaser.yml
    15    - from_url:
    16        url: https://raw.githubusercontent.com/goreleaser/goreleaser/master/.goreleaser.yml
    17    - from_url:
    18        url: caarlos0/goreleaserfiles/main/packages.yml # the https://raw.githubusercontent.com/ prefix may be ommited
    19    - from_url:
    20        url: https://api.mycompany.com/configs/goreleaser.yml
    21        headers:
    22          # header values are expanded in case they are environment variables
    23          x-api-token: "${MYCOMPANY_TOKEN}"
    24  ```