Skip to content

Instantly share code, notes, and snippets.

View passionweb-manuel-schnabel's full-sized avatar

PassionWeb Manuel Schnabel passionweb-manuel-schnabel

View GitHub Profile
@passionweb-manuel-schnabel
passionweb-manuel-schnabel / deployer.php
Last active January 26, 2024 11:44
TYPO3 (v12) deployment with PHP Deployer (only deployer.php file)
<?php
namespace Deployer;
require 'recipe/common.php';
/**
* Configuration for TYPO3 deployment (v12)
* Based on a Hetzner server and a GitHub repository
* Deployer version: 7.3.3
@passionweb-manuel-schnabel
passionweb-manuel-schnabel / github-workflow.yml
Created January 31, 2024 19:42
TYPO3 (v12) deployment with PHP Deployer and GitHub Actions (only workflow.yml)
name: Deploy to TYPO3 v12 via GitHub Actions
on:
push:
branches:
- deploy/typo3-v12 # Add your branch name which you want to deploy here
jobs:
deploy:
name: Deploy workflow # Name of the job
@passionweb-manuel-schnabel
passionweb-manuel-schnabel / datamigration-v11-to-v12.sh
Created February 16, 2024 09:46
Synchronization of fileadmin and database between staging and live system (for different TYPO3 versions)
#! /bin/bash
# this file synchronizes database and fileadmin from a TYPO3 v11 system to a TYPO3 v12 system
# example based on a Mittwald project (TYPO3 legacy)
# /home/www/p123456/html/typo3-v12/ is the root path of the v12 system
# /home/www/p123456/html/typo3/ is the root path of the v11 system
# please this file in the root path of the v12 system (you can of course place the file in a subdirectory and adjust the paths accordingly)
# adjust path to this file on Mittwald server