Library / Code, Git & Developer Tools
Code, Git & Developer Tools
Back Up Squarespace Code Injections to GitHub
On a schedule or manual run, Squarespace header and footer code injections are fetched and saved as files in a GitHub repository.
What it does
## Backup to GitHub This workflow will backup Squarespace header & footer Injections to Github ### Setup 👉 Edit the Squarespace node to place the website URL there 👉 Open Globals node and update the values below 👇 - repo.owner: your Github username - repo.name: the name of your repository - repo.path: the folder to use within the repository. If your username was john-doe and your repository was called n8n-backups and you wanted the injections to go into a squarespace-backup folder you would set: - repo.owner - john-doe - repo.name - n8n-backups - repo.path - squarespace-backup/ Each site's injections will be added into seperate folder
The steps
- On clicking 'execute'
- Loop Over Items
- Schedule Trigger
- Get Squarespace data
- If
- Clean up Footers
- Clean up Headers
- Get Footer Injection
- Get Header Injection
- Edit Injection data
- Create Injection data
- Globals
- Merge Injections
Similar automations
Code, Git & Developer ToolsBack Up Squarespace Code Injections to GitHub23 stepsCode, Git & Developer ToolsBackup Squarespace code Injections to Github13 stepsE-commerce & PaymentsExport Squarespace Orders to Google Sheets17 stepsE-commerce & PaymentsExport Squarespace Orders to Google Sheets6 steps