Ignore editor-blocks.js from being committed to repo; show admin notice when build is needed.
Deploy theme and branch to Pantheon env at *-amp-start-travel.pantheonsite.io when * is an environment derived from the Git branch, if possible (11 alpha-numeric chars or hyphens, starting with alpha). Exception: Commits pushed to develop branch will automatically get deployed to the master branch on Pantheon (and thus appear on the dev env).
Fix execute bit on a couple files.
Theme version in style.css is dynamically updated to include commit and timestamp:
Build Travel theme from current branch.
Build latest AMP plugin from
develop
branch.Ignore
editor-blocks.js
from being committed to repo; show admin notice when build is needed.Deploy theme and branch to Pantheon env at
*-amp-start-travel.pantheonsite.io
when*
is an environment derived from the Git branch, if possible (11 alpha-numeric chars or hyphens, starting with alpha). Exception: Commits pushed todevelop
branch will automatically get deployed to themaster
branch on Pantheon (and thus appear on thedev
env).Fix execute bit on a couple files.
Theme version in
style.css
is dynamically updated to include commit and timestamp:And the same is done for the AMP plugin: