/gtm-ci

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

GTM publishing assistant

Enhance collaboration, manage accesses and make publishing operations more reliable

Slack integration

Webhook configuration

Development

1 Read an official Tag Manager documentation

2a Setup Linux environment

bash ./dev/env_config.sh

2b Windows:

3 Save Google Service Account credentials in credentials.json in parent directory. 4 Set environment variables:

export SLACK_WEBHOOK_URL="https://hooks.slack.com/services/..."

5 Run the pipeline

node src/index.js --account=1234567890 --container=1234567890

TODO:

  1. Need to resolve prettier issue on Windows and add husky to dev dependencies