|
#
|
|
# Cookbook:: kosmos_gitea
|
|
# Recipe:: backup
|
|
#
|
|
# The MIT License (MIT)
|
|
#
|
|
|
|
unless node.chef_environment == "development"
|
|
# backup the data dir and the config files
|
|
node.override["backup"]["archives"]["gitea"] = [node["gitea"]["working_directory"]]
|
|
include_recipe "backup"
|
|
end
|