GitXplorerGitXplorer
D

amp-samples

public
0 stars
0 forks
3 issues

Commits

List of commits on branch master.
Verified
882e6e6be8f6dd5f29fd6904f35aef709d6ba2db

Pin dependencies (#2)

rrenovate[bot] committed 2 years ago
Verified
025d2c150dc7d9103e43734bbceecb7f7b029a88

fix(deps): upgrade gulp from 3.9.1 to 4.0.0 (#6)

DDerekNonGeneric committed 2 years ago
Verified
6ec8375177b35f7057041e9c371f0d73604faa11

feat(automation): configure renovatebot; add renovate.json (#1)

rrenovate[bot] committed 2 years ago
Unverified
2a5a0977b994f39523b85aacc49cfd4904ad0c97

Update README.md

DDerekNonGeneric committed 5 years ago
Unverified
27b209d637a6c7a1ada76c689d73eb7663431341

Initial commit

DDerekNonGeneric committed 8 years ago

README

The README file for this repository.

amp-samples

Boilerplate for adding embedded samples in AMP docs. Based on How to: Include embedded samples in AMP docs by Barb Paduch.

WARNING: A new method exists. Update coming soon!

Features

  • Auto-deploys built products to gh-pages with Travis
  • Deploys from branch specified in config

Instructions

  1. Fork this repo
  2. Create a new branch for your component's samples
  3. Sign up for Travis and add your repository
  4. Run ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
  5. For the first dialogue of this command enter: ./deploy_key
  6. For the second dialogue of this command press enter (leave blank)
  7. Add the contents of deploy_key.pub to your repository at https://github.com/<username>/<repo>/settings/keys
  8. Run travis encrypt-file deploy_key
  9. Copy the encryption label (i.e for $encrypted_0a6446eb3ae3_key, it would be 0a6446eb3ae3)
  10. Manually define the ENCRYPTION_LABEL and COMMIT_AUTHOR_EMAIL variables in the Travis Repository Settings
  11. Manually edit the branchName and host variables in the /tasks/config.js file
  12. Add your samples to the /samples/src/ directory
  13. Commit and push
  14. Allow the Travis build to complete
  15. View live samples at https://username.github.io/amp-samples/samples/ampcomponent.basic-sample.preview.html