28 lines
1.1 KiB
YAML
28 lines
1.1 KiB
YAML
# SPDX-License-Identifier: CC0-1.0
|
|
# SPDX-FileCopyrightText: 2023 Ben Cooksley <bcooksley@kde.org>
|
|
|
|
# define defaults for all listed projects
|
|
defaults:
|
|
# template used to construct the destination that rsync should be syncing to
|
|
rsyncDestination: "deployment@remote-server.example.net:/var/www/%s"
|
|
|
|
# define settings specific for subdomain.example.net (in Websites namespace)
|
|
# key is the GitLab path of the project
|
|
websites/www-example-net:
|
|
# dictionary of branches to performing publishing services for
|
|
branches:
|
|
master:
|
|
domain: www.example.net
|
|
staging:
|
|
domain: staging.example.net
|
|
|
|
# This website is hosted on a different server to the others
|
|
websites/subdomain-example-net:
|
|
# Different rsync template here
|
|
rsyncDestination: "deployment@other-server.example.net:/var/apps/subdomain-example-net"
|
|
# As there is no %s in the template this will do nothing but we define it just to keep things happy
|
|
domain: subdomain.example.net
|
|
# For this one only production is supported, there is no development/staging environment
|
|
# We therefore just list master to enable it
|
|
branches:
|
|
master:
|