upload_configs
Uploads TypoScript config files from local paths prefixed by variable copy_source
.
Configuration
Here is an example for a multistage setup.
Let’s say you want a stage-specific config.txt, then you use the stage
variable when you set your config file name:
Usage
You would usually use this task during development with a tool like Guard:
Output
upload_
Uploads PageTS files from local paths prefixed by variable copy_source
.
Configuration
Here is an example for a multistage pagets.
For a stage specific file name set the variable like this:
If the parent folder from typoscript_pagets_paths
on your local environment differ from htdocs
then it must
be configured:
Usage
You would usually use this task during development and deployment:
Output
merge_configs
Merge remote, stage specific TypoScript configuration into a project-wide configuration file.
Configuration
Here is an example for a multi-stage TypoScript configuration:
The configured path should have a Stages
sub-directory with stage-specific configuration files.
Example:
If this path or config.#{fetch(:stage)}.txt
does not exist, the task will be skipped for this path.
A project-wide configuration file with the default filename config.txt
is created, this name can be configured:
Usage
This task is called by merge_config_in_base_path, so you may not need to call it yourself.
Output
merge_pagets
Configuration
TODO
Usage
TODO
Output
TODO
merge_config_in_base_path
Merges all stage-specific remote config files in a given base path into a project-wide configuration file by calling merge_configs
.
Merge remote stage specific PageTS file into project-wide PageTS file.
Configuration
Here is an example for a multistage PageTs:
The configured paths should have a Stages
sub-directory with stage specific PageTs files.
Example:
If path or PageTS.<StageName>.txt
does not exists, task will be skipped for this path.
And a project-wide PageTS file with a default filename PageTS.txt
.
You can configure your own filename:
If project-wide PageTS does not exists, it will be created.
Usage
You would usually use this task during development and deployment:
It is recommended to upload pagets before:
Variables:
The default for :typoscript_config_file
is config.txt
, but may be modified:
The default for :typoscript_config_base_path
is \.
, but may be modified:
Usage
Output