{"_id":"@primer/deploy","_rev":"44-350e2be55a9c13695c8eb6abca8d9087","name":"@primer/deploy","dist-tags":{"next":"3.0.0-rc.8065522","latest":"3.0.0","canary":"0.0.0-16cb3f1"},"versions":{"1.0.0":{"name":"@primer/deploy","version":"1.0.0","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@1.0.0","maintainers":[{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"b1d761e6ba10001a27bee86614e1994fba633459","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-1.0.0.tgz","fileCount":23,"integrity":"sha512-BEtJM2fIVhNAXEh806cKpX32/K42ZhFTTRbCGIiVac9zYtBNUYodf56Nx/T9iVxzCrDHJxY1+0oUyRm7ZFOnhA==","signatures":[{"sig":"MEUCIQC3UDDAfoXAwjHM6DnsNzoTdj4x73toG2Us34mYO+MCaQIgMIwHZxE3qpHSRalmFSvJqUoFkpTPNwWZKMIxmqK5Uls=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8578,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUUyYCRA9TVsSAnZWagAAh7AQAInmboLmOKhhgL7+vgqo\n55x10JoWo+NqVKJcRaTjHYjnxlOhdkw2XBMqVED8osmngRZPaEBY8KcIe7X9\nYQxHLWNuMpXh8jP/vXLBPNeORpyFmxI7bqmCRdscK/KZ6DI7mA3MAHoTTOQ1\nNAxxxEbJ/QQApwvewfXzge514FcZfvhiFs7f8EvrEGq1gWXxF+Kc0xW+1wzF\nJaG932/cFvgQPju+9peIyh58oS5rInyeRCl6VGS1IjongM/kBcTp+jRWdn8v\nJnjmLK2uYa+FqYHLVDk4WKV0V6QKRwki7KgOCVghsYTEtm4vGu2YReTrOzud\ncxZI94PCdAJBijUlxkIPxfu/dRuF5aeWgBo7R6qjdeQrUq/NYR/tYxPLMPgp\nB12HEHc39jRxuuUNdK5DVlQcncMnsmVZl6z2431i2koAg2oh5Mb4ZTMeAg6E\njIdHkaYZewxGJcnt2JGshM7fRMmQepoqiMLme+9++FnQo5f1RHlJ28pRBARm\nrUz3u4xFXCri/2Jj8+8n25DnIaucb9eun2pQaxyNjffHI3drA5ujd6FgOJme\ngPmRZEOaDNo3vGI/Kkyu1/wxMz640Zv+bgMR//qWxXXCWKu67mWbiMPFIqEn\ny4FSqkGk40QL2ISficpX7nGMOdNTKzG1oZabhUaghcpDjpXTkow6R5aoXbzm\nxC+a\r\n=gI+1\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"gitHead":"3dc1b28c7362a9b1be099f99e7e838f7456ad199","scripts":{"lint":"eslint src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This GitHub Action deploys to [Now] and aliases the successful deployment to either:","directories":{},"_nodeVersion":"11.4.0","dependencies":{"now":"^13.1.2","execa":"^1.0.0","commit-status":"^4.3.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_1.0.0_1548831895831_0.47139809158608537","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@primer/deploy","version":"2.0.0","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@2.0.0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"943294b756ec93a4a8892d79da5834e8b87a7cd9","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-2.0.0.tgz","fileCount":25,"integrity":"sha512-I9P2qe5hcxKSC3uUPUO/LX+z7GI/UwZNfq63lU4VsH8CrzE0ASaFf0zuUIcpBua2r/1UH3yBno2H4TbUn+RIYw==","signatures":[{"sig":"MEUCIEt6d5J/oZO8xaaYPiH179DkzIOrkwx4aIOCHiCnHMuQAiEAuSB5z8CklpUiFW7y0U6dONI4FujabtyGqyhulmpK2kY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcVNFWCRA9TVsSAnZWagAApzgP/0ECVY09LSDQoeqLcFjv\nolDkYebS99imbt+dxV/xgQQkHfHngVz/1oIaVP2ZqBlnuLv/YGicVSzF/yqq\n3ccmactZ8Gr8oc/t/chP8v3CtUYrjxKTCDi/y1iHafUtbEXsc3IMxU+XbIu+\n2kBwbvEByoi4ZkTkjTTr3XnksZN4o16yoZLIK+GeugXlb9ONZpRvyATfSZoR\nOK7C1i5dP2qYptvmvljtWLc9oPhEmbiKjUpw/TNt5HDo1hZ6SWqK9reqwYdu\nWbbiqgv0fb90AjyOBH7ts1Zf8C2+2jBJztpNjisza39x/gFSPUCKrstqdbNA\nSv8W60D/BB0GMjsnBUNYIxBVTGxswY8OVMcsO9pMXwOFyZUFEskdPVDqJZbL\nj+hdTRe5TY1QwrZF0AcDBv7CF845qACmUMLkrAF/+09qsBDIL+75EIPKcBON\nd51ZxBr6sRLb95016/3AAni8jfEm4y/4q9nToCX54o/l5pkF4QHKUaNW+QUK\nPgpb4XnUwxhdclRLjxXQC6Ih8qpumRtkfhGzSDpiKPXmZUdUIO2RySVF++yU\n+pavwxbREwk9kU5AIKWQq2xs24DDlHGF6gGV/RJre+ias7YMlsKxQkEYgeff\nWXGsbvdAr0Zapqm3gTyQQ90B8wwTRdr/ba1R7jNhQyoJnE1COB47A9ThUy/f\nffr8\r\n=dJM1\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"gitHead":"fa78288637665e1d267a9635cd31973d7513a5d9","scripts":{"lint":"eslint src","test":"jest"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"11.4.0","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","commit-status":"^4.3.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_2.0.0_1549062485304_0.6003812684141419","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"@primer/deploy","version":"2.1.0","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@2.1.0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"2bb985b68fef8dd3a1f39232225ff9e85c5aee2c","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-2.1.0.tgz","fileCount":26,"integrity":"sha512-JKdQ4ncpRGdrC/8hjqFMjs+S9vQWaVG7MZD7WLwLl1WQU3+sxgWDYKB3er8WJRjSyMxAfPMgFPgxgvTjk75Bew==","signatures":[{"sig":"MEYCIQCejPJiqeZKEwnMBaXN1UJawzrEYrk86mvCyvqhHFAGYgIhAKgyphnr4g5Ws3lr1BsvhBzug0ArOf7Jte17zfDQfwZ3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW0wnCRA9TVsSAnZWagAA9HIP/iq55W33/1h+U5EtPlhL\ncO8uTUiCRWXQak68mUh0VjS9bKsbTZaAA2SZutMAaN3ANmavbKa3QXzFZJbn\nG5ROUFAE8UmB9WPgk2TZ8hEWXbmjDQNEBuVHKejscur+dFpp2rKc/7FeZUv0\nLTDBE3mFC1caik6zBLMvhmIH1AXRyK3yVKXIPfcBNAovpH7ETUjmDXSESF7x\n+PAAwHGQ6E9kilDD6RmO4qgewN64YLi08GG+MgdZeOTH0cD/8NdiKs3BJmgC\n/ID3+Lk3/rWOkWaE9ry8Y3b11jq8THXft0tbFHTzwIcbmDMtqgnLZvbdGSDE\nAVdeNzpHbBXl/SJfFxk+oWkuk+wJYMmVveHlSdrKGoLcCO0gwS2eJRb1Yrm8\nnisGDBhi9FsYV/6Ga2+BUq1PzKWEeTmPMn65dO4LMcQHP9YtDLUJNRAw3+ei\nSBLtv3WT07mtOIUrsohlz8Rz0Hp2A4vk1VlvKZrXeE1DuubUzxa5QprLweL0\n6KmXyop0IxLks+UVOVqNb9/vc2lCrlSUGVWqlEZ6ES1vvcI/dE2L/zCw97vx\nG1V3PG+OwyC2svcIg8ZDFlqZIxsQGQBQjsQazUkJ4V80AezjQZecDL34KVJC\nG6RypQXarcygi/a9PEFQwgstS47oPVM9To3IWAKlHdiED6Rfr/aCvS0T2iE1\nqOdh\r\n=E3md\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"gitHead":"e561f709844e6bef0dd4c430e964a518b83699c2","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"11.4.0","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_2.1.0_1549487142396_0.2786333628519173","host":"s3://npm-registry-packages"}},"2.2.0":{"name":"@primer/deploy","version":"2.2.0","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@2.2.0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"1675037c507488fb59442b10e95f8ddc1e656143","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-2.2.0.tgz","fileCount":26,"integrity":"sha512-Yq4yTSp2wMy5ed2huBMT3/9Y7o5NIDXupTQ1aNOdlHryYc3Y10qOXRf6WFZV/J/TuTjpivK/FQaVGelvzqa1bg==","signatures":[{"sig":"MEQCICbzSp+liQAPC0MwvLTpxS7siGMsOpOubG3AkjkJHhwGAiBxOC3JQfqshqXDX6pOkDZQHMW8JIzJA/GkHl3UKuL1BA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcW0xpCRA9TVsSAnZWagAAttQP/jS72rJs1quOIh9HlnO9\nvl7S3GowZJI76sfOAPIh/HBbzn9jEtlhC3sFbRaVjvyjOS7DnwYUJ5nNrm/K\nQw6N6Kt7EgvOWZluJUnQFwjQMZiaq9VN6SyZ0AeYQDiAK8bZ2hM4iMRiMKFA\nTWbUuOlDPa71ddjFcuP3TmIVggD1MHSf96nledvjDK47Z/DiQuOjzvOgfSiS\nmleluHmpn1gYYqarBrHAv1byO6nS5AituQ59e14GeDt0nbbarkhWC8SYAFB7\n/LbX0pxFO9ro5FAYzkZwstW87JyNC/nqGroZRjUjydsR3uRivod+mZxThqDB\nduXea/7COn2815kehIT6IngDtVIdg+aB3rIGbCLEzCNK+XvOFfT+4qPdupFW\nlNODcygGfRxrgPO2slGNmluCzja8aVUdYtOWRB31408kUnLZ2LPBZUnwGyhw\nYf7/Y6SLXq8MC0NXUnotnBwSwFDfGMUHRh4XFso7IQfwHUQojOxfWXhWMIn/\nn8i3J5FywqIV7VisFY2olLleZgtk061mSrcOoMB9RUDAom9MzGo5gmnxn60F\ngvuOg9Poi3Opqazumf5WNFkENKsooT4m/X1jtiE7h9aMxtW2TCwP7ZXpFAV+\nIGRaEJGhOjml8ynJsWMjJiJPAKUUf9nZYm4vWuPmPktlbZctESqr7X1MeaWH\ntLyu\r\n=M5AB\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"gitHead":"db4f7bed5cc7180ce6e3de7948c82fa208f6d419","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"11.4.0","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_2.2.0_1549487208893_0.3038070687625507","host":"s3://npm-registry-packages"}},"2.2.1-rc.86613fb":{"name":"@primer/deploy","version":"2.2.1-rc.86613fb","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@2.2.1-rc.86613fb","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"913be87219f6cc9dbe85765ec50321d8992c0eee","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-2.2.1-rc.86613fb.tgz","fileCount":26,"integrity":"sha512-v2DSXEo+u1iuxzk5LolGO7u4pA810ltcRd1Rmlfd8S41liwNu5s2rzR3e/quIq9qx5xvU0vgu0cqHahreaZhJA==","signatures":[{"sig":"MEYCIQDPcqJ46d8kePPKEARap4mX+zQIfZnHtDzR8pmUWbwAXQIhAKDcccMNlB8Cm+w+NTW8V1Zaxg35tKvCFfe95TKERAXR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYcrMCRA9TVsSAnZWagAAuE0QAI30xP/W1ogJ6UjpjVEB\nEd+T7pgRZqxuwMpLiPGO2gk4VHKlkapluzbEozp5GpQnjJ17Wq35TcfMOF2R\nP7Gk4EMvYQkOJVFhFAqxPavTsVSDTjGDImevBfEkydxxDVJPnJta6HUrGnf2\nSMXoG2EIELkldKiVj8pSuqK+344amanaSpimkjcd/L7J+x+QhhMZUAiMu7da\nqvVJLUaq12W4IViM1iDxeumOgOmfqa9G0tZNyGtbheLmOcQPjp0IIu1M/sbh\nNWcxCZYGzv+C8a67oIwwrT7vlrWjMHLejIuUpF4E78OBOqHe0XRNqKKZwjjm\nL1f/jjE0v7I8v/PGNBcMrdX28fdk+iZt8chQ/Okii53XApfAveWVWRpSkZOp\nxuxT5hOLM3s0RNY1uAopSg2/Crwx7ZCzHZi6VUwDDVtiQrAHcPuiIvFtutae\n3mXvoK1Ie2QN5cIdvXLMrKKeUm/8q5uQiBB6bdg7TPMwnAiWQFX7M8CG5X8n\ngJRpWbEldS3cTHQpelX+rok5vqFRCwwM/GY2scOGQswCl5wAWh7T2YUgJDrP\nHHZaCjebVl6CDSSWoQQ4l7IK8/K8GJdv/FvYYPJBPOBsZg+9s3pQgoFiw4+l\nOxXmMMQi9ZddIydw773PbU+sHYYyq7neS6Xjm4E7zQKOvApia99aqcKaq4pI\nBZRi\r\n=jqA2\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"41c5e725c81330210773855f787ad8e4de86d4a3","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.1","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_2.2.1-rc.86613fb_1549912779554_0.16562957565196834","host":"s3://npm-registry-packages"}},"2.2.1-rc.5fee2c3":{"name":"@primer/deploy","version":"2.2.1-rc.5fee2c3","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@2.2.1-rc.5fee2c3","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"6d4db66e452c7f38b7d5379723f6ec59ee2368f5","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-2.2.1-rc.5fee2c3.tgz","fileCount":26,"integrity":"sha512-J0aZyjwL/K3daKzmV7QM6TlRNloRhA7w6XUA5rRgrb0cHfly0+8gL+qSeQ4dBRNJ9NyQSh9FD2zKQhmRQJM8IQ==","signatures":[{"sig":"MEUCIQDEYYIWtGhJ1HBFQ6Y3ft/9mhnddcCAQsecqGIra3Z5uwIgfMdUMqqEgj2pUjSA9pgKWJbcTVQpVcHS0eRaNimW51E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYcu/CRA9TVsSAnZWagAAc/QP/3N8Qw/2mZVFvnp+pOYG\nGS+b5olZ7/UPBEQWbTD/zDxRqdXX5vXPqEvfHZpAS8U9cN1l1Ib6KyrEqfQ3\nqtHIWcLwPayMtSjHa2PPqdKm02VYhGJnpoA6b6h//g0Ji0DtFmVnq+EIDOZP\niwSBPgQVEUX9jWSU+2VwFI+yOZSKXxPy6Q2i0CytxipG1525v0zAVmIT6eF0\nBUr0pEs/b0n6pjMrtDrH5N3kXNCZya07wr4D3mkHeMsSGJO7pXybqHNfQYIH\nD91vW7+o4VvV4Xfc19wOf6CcqVbngcW//L7WhgReL5sfaPXcV4dmgtRvdFXP\n8o2x4GyGoiDOeTV8FGdMCEuV7G4ux7lhR7WGfBQP/tcLTcbIW9AkSDFTnpeT\nCwI/rgzObX8lwZQ040kDofWrw0J5TIPTWFUT14H7XrPQj83JiOX3uvy5JbBD\ngCjXw0iQnu0pGgqdtNKlDpVF0Xbb/P4A9CYuf2Dzwp4jI2/MbBxJtccwYv++\neVTK4Iluj1LxO4OFF2GoA6xeNc3zX3MVyz4juoAa/ie7XpUP833E+s32v+QV\nCbErglHI0T32W8DmRaTWsvGGlblLPJ1oCs8BJexLOOnDmY2BXHa3hSuUSnpl\npEcH6zrMkTmwFy49qbAuzxD7zf8x2r7pWwGxmO3FTfcHNFtV/F8rXOsZZbyX\nwELj\r\n=pW7f\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"64d8620cc64070b51267b20d1abced82519d1f2b","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.1","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_2.2.1-rc.5fee2c3_1549913023234_0.1577018821922851","host":"s3://npm-registry-packages"}},"2.2.1":{"name":"@primer/deploy","version":"2.2.1","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@2.2.1","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"601285bc56773919a2554084617265a90d4c4d22","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-2.2.1.tgz","fileCount":26,"integrity":"sha512-RcvREp2RvBSgX2L9vWpi4JZ0ZcPcHaYdHs4jisgWIYwWq+jTOrodB4LU55HePLfI73uv7QF/TrT6lZxXUThjbA==","signatures":[{"sig":"MEYCIQDVVSQGSOVOsQG/FBruAzzNSF/nC09f1EimXu7S6euayQIhAMG1C/4TkTKypw11LYImqsTcLrHxGuzkFxf20kZX/xKN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYcyTCRA9TVsSAnZWagAAEVQP/2A38S+WPT2na50uMWW4\nVoIMUBMrGR9oG4VmRWtTFxT1OpCciHCxGomQJ9ZnzZczA6aG9fe2FA/85kvC\nuGW2DxLxjBjkco/zFzK0DzHopI9sWjUDYTrXykS2Pmr8JpA+RK9ciUW4rpMK\nYgU3IcsYXVQBGKt4Ooak3Co9ZGMaAHoIOZ63RtlNdUP5yd1CaICPi8t73/6u\nFPKUTgbQcAAVqhU0E/b04F3w+kucMksYDQvPuTD7cBcnY0Yi2X4USzthAs78\nC/LhLUcxa7wy3sGCMCCu7Kmulp5dxIEme2+134uxXeOs70GAULZaZ0v66D96\njxuvBE9iwgQ51va52RgALTz+TYHg3PqNqj3IOJvU1HSv/p9d8ZXBIoq9kW1c\nl95EczUq1QPQbH2o6vNYLXkTwcQvIkqeD5ttyXbswOTJwaJLnfIjrWXvvgy/\n2zFgXOG2BRdxQvQeXHDQn3tKlX85dZi8AnrQ0WeIL9xT1y4KlSYCKoBdrg39\nIR4Yd5S1LebwojiYy3dTjpbUiclP34hXMftuzzZxuGmH4nFN78mDq3EsVaka\nGqG6h/ELbyRt6KlkhiLyVIbkpVtP8WyH3KngNY7TxJqvCuc2oDkL9R8Vth2m\ndPQdVFjCF0TqVwy8zCZxO45qxOkBCQ6evJ7HCD4RRCSSZBnkvn/y+/dF5pC6\nWL1o\r\n=p3vW\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"gitHead":"b305481b5c31086cfbfafb9e83a7d3fca3c041a5","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.1","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_2.2.1_1549913234982_0.6502394699102423","host":"s3://npm-registry-packages"}},"2.2.2":{"name":"@primer/deploy","version":"2.2.2","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@2.2.2","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"398e79b2d4f9cb493b001990db4af9536ec093fc","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-2.2.2.tgz","fileCount":26,"integrity":"sha512-SE7b/j6NTdqljWPauSN8HZCDQBIFmFYPBJ/KmnKoMZ4Z308kIg6E5GD3bkOkCB+dLNJpXO4hx1+k5VA5URKQvw==","signatures":[{"sig":"MEYCIQCEJ4j/sFx/n1FoPcTxKjXGyUTpbo0k46uymvda4qfX8gIhALR6XGXuBtpshmNeJ+HNCO4sJNB7EI48VO4fyQI3d/is","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYc1iCRA9TVsSAnZWagAAtpoQAIvOLVORPjz+8Jo0BZS9\nBt7ObgRbzsHYZrr+mbtLdMo+drZMkm+xulc3qLHk8ZYi+wMZxkuiQuNIUimC\nymILLPuHFTU3Bzl7UkWR6bHLHTHJsllDfez6iksLc7cLwdtI3VOoiwT4imhf\nAnxgZDZoEKsOiXw5BxJylgTVUCSudpS3/kMhB99Fn3Ocpy17EG8kL1t32mXW\nlAz4b89GFXIyas+QXwtlW+iBvVXnauYl5MrNigxWPIJxrmXWq4IPr9+gBPxE\nmgiETsGyoXYNtdLqtpEVXOWbUDbr/MoyBBnSfETKH9LuUDIHjcXfZvGtkNm1\noeOqAYNkHBqSCFKYYykSm6IxRNnO8rxh1x9B2uHXAD+rOg0/kE3xl6ImEheW\nBWp+oKRjfIpLKdoPVGIAPA1H8KCR07NlmZcawywg++I2Pi4j4DLH1fAGJFhi\ntZV2j+DQksRoeAsEOVzw1HKMElEomMo/F6aDPw+Zo2jSUO0A9vm5G95XX+yS\ni74drekWH8kd5LsgvOhKWanS8Qo70D3CbjRiIJE9QF9X4g0j/m+XeXXPrx8E\nUSrDIUiiMwm7tw9kTGkGC1h+hLCGuPa3sq1V61KkkEFJ/WsFaz6Fbd5NmqUX\nDM50SuiOrfT7DAGhBq5ZMfbu2yuqZI6IA77cjgve+PtGEzfcejkfTP1+mP01\nIPbX\r\n=d9sp\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"gitHead":"2e0dc79d9d781f06a9313cc090f54439b43f7612","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.1","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_2.2.2_1549913441454_0.04759102502356738","host":"s3://npm-registry-packages"}},"0.0.0-b51f4fd":{"name":"@primer/deploy","version":"0.0.0-b51f4fd","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@0.0.0-b51f4fd","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"69a2d31d546d0cbbd0caf25471c80047423796c2","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-0.0.0-b51f4fd.tgz","fileCount":26,"integrity":"sha512-Y+hSItB+KU+r3ApbbH2QhtmskMDIQGtVjFyr1g8N8w0jtXkPSoqRLK/tKZIPKFwoqKtis7EB03N0dlBOB79GSA==","signatures":[{"sig":"MEYCIQDE0ut5LF6vtAG9RPHqmUWOfmFNjYSQ3HuNtlL3Ik/h1gIhAJU9ZBRbcsd/iGgsKQr2JiOxjRGeTZAI3LrHo/ilZ49I","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20261,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZzyuCRA9TVsSAnZWagAA1v8QAJuZu7ulKGJ1U0ccfTGy\nBs7CfKr6zE1LoROVAlTvVyv1ZKHkAcxrxqsR89N6YLSxQUuBv/zk4RIueOAF\njqG8MfLFWiyY0sEKzwHD//+Qi+TCP+nEMXmC7ECDK9IjjuuG5ei38E6Nn0+N\n738cBX4T9u41SDp169kH6RRE9Gie8ENrNv5bcPZkOJvk5SS2OHjY+LX31Pap\nc2wu7Verva3J+MbCKXlzy3e8Ovt2qN2Xg2W1CJ5agBvNbEnwKkSY42xpY9/C\nlXHRL7m3lL21dRZQUmRPoGmGr85X9QaX/2EN/VnznhYFZTyMojbSzBdKTvGA\nIQChfV/6AWh5smH86RGISeZL7ZNO9woapj2xwbN+/9AKB+WxGI61YlVbsPAB\n1DjftZL0PkWcHHhMAvUe5XwEWOLLo+W3d8BB8jO7MeVbJ3ojo7F5DK2v3bF2\n0eO+4PMkB2juW49gxWxkUSJx6m+YUehd19aU4dx9WSC/lqXBVXV57nEV1ce6\neIz396xEsxai13pc8uDPiIps/eKmQR0NhI2G4C800VcxpgC7OYUV2bwQ6BJ+\nAQ/EWdNa1YhdcEBxQRYMrXGkvKjRUA1yayurOnykZb34WxidY34xgEOVHMfi\nzU/N9WuzSxxfo215z4u1OpG/2XFICilZ8JBLrGeM7X+Olzsz83iDCycU7dZX\nzWWZ\r\n=qcdw\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"62b0a9687cdef08d6c3f46c4a753a38f8cbfd879","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.1","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_0.0.0-b51f4fd_1550269614091_0.9679616973075316","host":"s3://npm-registry-packages"}},"0.0.0-66d83b7":{"name":"@primer/deploy","version":"0.0.0-66d83b7","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@0.0.0-66d83b7","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"5a9377e4e79dae0697702b2d1082b808200fc421","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-0.0.0-66d83b7.tgz","fileCount":27,"integrity":"sha512-x3zbk9gxRUA3Cj8FI9HzFHdrAsvZT7y8P53Jooa6jcOjXTroqaLtH+Gil+vSc7WaRyGP2Gnd7bL4+I+I47YT4g==","signatures":[{"sig":"MEUCIQDLA5XSFDxTR8pFMBFk1S+uKylzRRsJHiJfOPKf3+Ac+gIgAyhkibBws2tFoRX+sBHICX8+qeIRlyeQg9aP+p0i2ME=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23751,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjCDtCRA9TVsSAnZWagAAvfUP+gJE0OXhZxrnsMffGvFG\nWnbgWk3/WzykHEoKMGos/P7HseaIJJFHb/lshmg7tdv4Wv5qzztPipXTeJSR\nQ3944dXiMwIsmZPBdeqW15rEzUSVSFyyAKiho4TTvlFCY8vSTbjYTagB2KpE\nTDWKur83ZXzT6qw/3ZMiuhIlBIcR5mJr9i2x2dKxN0fuIz8RSO7ceZIk6FTB\n79x3mISX87P0wpPvRdxzBPxL4y9JQuzmKcgHsQbXM7Q7sW5RI0cyTQlUmVOk\niaRzHuUNvfSjN0MqDzv4bIw5xULrua4X/ADQuqGIVpI9KN9SflfHE6CNDElC\nu40Y5EWDhLBLl8Z0Cz5Xgw08Io30gzgGgFuC7SYBwVVxnlkmku0rcdmmwOl/\ne6fT85lw8LiWDqC5yeaA0MUmcJOimLwxli0ZB17Z9c8MVzxIKF9tHJQ45VRA\nx/4bmsb3kg4hjgQf5bvTjYXYQnZSKErTrOlzwnN73BoiQuLKpUP0+Difab06\ng23D0Diz8MRvDBz/F8E9qYy5mx85KFu6CL7wvQ5PrKkdGsj71hr271xSzCL/\nXMS9/rklGA/woE7JS2lZk3lYOMnq3UzHQsUmzr7saSAxUPGTij3nL+nkc8mJ\nLXmPbDX1t8h4tvibmWI/aR+7KudgbWoTbGfTDhcd1T8q/HJxKyFBnk7NYjIC\nTPYy\r\n=9xqz\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"34da5cf677c1d3f1eb787776227220608524b0a8","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.3","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_0.0.0-66d83b7_1552687340292_0.6352913920061516","host":"s3://npm-registry-packages"}},"3.0.0-rc.2e0dc79":{"name":"@primer/deploy","version":"3.0.0-rc.2e0dc79","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@3.0.0-rc.2e0dc79","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"ea48def388615ee92301482a35e8047eed5c20ea","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-3.0.0-rc.2e0dc79.tgz","fileCount":26,"integrity":"sha512-FWLHhs42Vn5jd4002LXUSOje8/wh90F+vO3Fdn3WsVFBF2vfLGqd2XdjlweK4cw8w7D1IpBZQWwMqTAIXQV2Fg==","signatures":[{"sig":"MEYCIQCrWyP4j28aP+b8Bmg+7fO0wynJsgdE1PyMHW8h5ulxuwIhAMEVd32AxLyjNDqWsYdY9BEFttc5gCIOqqM8+5cuAWz2","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjCR/CRA9TVsSAnZWagAAxHcP/j8GAYIf3vvDq8CSDK6w\nUReAFaDle7FjObB3d+vQaDBGLOwvSZddpkDe/LF9rAul60L9XwuSTwDfcg3U\nCtel77R0Ys67Sdpeo09NdZs65x8lnpKQU+cvNmxf/ZZj6FdpRQwI5wE9ca1G\nQ5Qt2hG9HoJp28inxFFAxifm29dqDg+WVusofO3EzHd1iKQB94Ks9ZhQPMs8\nI59DJwF0tXaathXWY3FX7oHdmibECt0ojoxVrdGJ+PIp2yDMGCyburX7GM12\ndsuen0IGEDYT3BeK4Nm5w8mUw6RD/15s8VbOpjMnVpqwca0T159USKwa3rpT\nwMaOo7RkI0Gt2vVFUJHPCooY24NSzMVQHmm6YlCEBrt24/dC82fqh59GzRiN\n8jJ2Rsb/OmK7QUUlNOnsnHAaXqfbYzBLGGQYo/4kWE/LAFI2Df2BmlGTzExP\nUPvUpXe+U4NKTJ3DN7TgGfeLoSrPiuwTZzRlK/hwMferKTxDu7KcgcbdKfqy\nNLv2vRnQOH/gL9RZ3mFVFi5ydUPYhzV23VIIZi1t+45mBURqoYK3RE+5RzEv\nxKOCuyA05ZJSF716+wcyG4pVKW6r/CMBTZ0g+usv5W1qOVENbZ5wO3S4RGDR\nbeICHCIk6mAvVBlzV0SZwKxf90nnY3xEXvjWPK0Xr/mVGFmAGRkx/3Qf/sWo\nP9Cb\r\n=eSJ+\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"728e5f2b2427f2bb72acc099d8037a0dd3095163","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.3","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_3.0.0-rc.2e0dc79_1552688254724_0.26527948847447136","host":"s3://npm-registry-packages"}},"3.0.0-rc.7ba3861":{"name":"@primer/deploy","version":"3.0.0-rc.7ba3861","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@3.0.0-rc.7ba3861","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"c5a390123db9d35f22b395b980461a59042a9ed7","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-3.0.0-rc.7ba3861.tgz","fileCount":26,"integrity":"sha512-PqCzl5rq4xrtuZ/UvBTrruU+5NFTHWMotX58sbyfHfE9kNbVlCUoHKhSpfTSdkwVJa6Vr0aQJYMyFb1OyVKLEw==","signatures":[{"sig":"MEQCIDllZ5uEjMjrMR9VoY6M6xZNGG8oOAiZMl9BNx6DIyDvAiA0QvrxPkjHmcXIVxvunlMPrlcF9iCR1wnhLOYaHee9wQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20284,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjCTMCRA9TVsSAnZWagAA7ekP/30vKRrtTmSCyNCyHrOr\n6d9isf9fX3l/jSQp0mibwMJDbKi6kuxzJzDx+tY6enS9Ob5mhvijxG8Y+EpH\ng+VnDg0Xhlkg+Cu4nXXMDxU5a0CMtJZ3h9sCGHMJ9+qUDl6cjgefHNFfjJqc\nhcsavSdoTyKA9JyUPBHR86KksZvCZXUEAEgmKHOKhyEoT0SmxHLhyvurY2OQ\nLwXqD6J8wf0gN4DzQwi4gOWFlEunFD627tr0RY23pU53L1sixPVWLPB7hfzk\nNVfQSZdge/0uqP14E1IT6WfiZmqlD0ZWEb11DvZgbw8g1gEvduRLLH52ArQ5\nDsnKrDuQa9tXYE/HuvSSebHZ6+ACT4Fb6fyup2dXCe1jM/cik2YcgBnw972U\nwUw/Mqkrb7F9sB9IiJEs/7wfY5FHTWE2HICXD/CGhm0Cq+7F+DG1Y5QwJd7Z\nXNXatlhbaJwLy36cr4H2k4k8lsqjD65qCT1xOas0Z9Lg6er7in42tE399uwH\nhpkBXDgYnKYs/bMC/D+mEh6nnHlw4rX+ZPA9kGoR0PCUCgGIi/zv3OouTNrf\n2Lgk2alkGjhvyw3dEo2loB5K21ix7NrNXob7kdX6HoNcWJ86Anq/ft9SYPLs\nhi87tSSgIWwbxnmsCvc3xy8DC5dEt52wxlU2zREkGM2RkWb8QOfaQO0/UZHk\nTgt+\r\n=ZAWw\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"5b7db46d0c98f741e2a76e02083a7cf2ca87655d","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.3","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_3.0.0-rc.7ba3861_1552688331790_0.2688229327275016","host":"s3://npm-registry-packages"}},"3.0.0-rc.8065522":{"name":"@primer/deploy","version":"3.0.0-rc.8065522","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@3.0.0-rc.8065522","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"5ce63e2f138b14f31c1dc4f6f94ed173dbb7b67c","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-3.0.0-rc.8065522.tgz","fileCount":27,"integrity":"sha512-ufcZCIYTPVdwSF5DR9sF7Ww7qfOi370VA8abyvfqlgcwU5Za+5j2iqKy0K2ss6LALmuPxHfvszhR+gxfkVJ7bg==","signatures":[{"sig":"MEUCIQDq/tPOdf3RxW61cadYxZqRjNFAxqjaFT05u/qs7uB5ZgIgKXkRV6fMWvJnBxdzZ2mlbDRP8XO7E4/c+QZZ8FNiepU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23754,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjCdDCRA9TVsSAnZWagAADVcP/3mBpxatlHbLVrCAiRC2\njiwNpsWQpW7Uh4XH3C0ovKZNYx3gRs++FAJBWfdcn0+bV3H4X1U0hJlkw4Ud\nn537FOIwEzMoJGuhzKbtCfPP3WcDfTPnX8p6zn1SY5XhPrM7pYFIBcb5xiNV\nA7etTFdTGRJDBSUN00h9gSNWCf27zXI6w7NyU7UK2nh4MuSsOjo8Y7ZGWRen\nFhHfD36/Rb8qwNtBFuQM60hBSeFibMVpMkx62sM1pkAYEEbN2tC1lAidOQjV\nG6fDxIyFkoTC352TEXxA17ac7QJlMYkPm8+bMxLlFwCLHH3Fm2XJTzKXLcLs\nTG+c1TDRxJNMLcmwMW2CS+G/vJkJ/CKIzfM3yrmWJVQgtGpheieGr4DHkQTD\nnRYlRIxQrfubootue45/b9ABX0BMXTd7Y7any3wF/Yw0R2ZlhyM9UkOUcF0+\nwoZH4x16F02jLz886+KwNNARP3brJzHnA7pY1Ko5IhSv3jcs9SPOF1NwdIjz\nyso+ehddRxWLiXrqnrpkxfV56RPBg0gK8p2Xu9ReEKTHzkJ9AmH/xbaKh/Tw\njuwX0zxQMHUkAtq6jR/j70aIoP88VYr5S3NmQeuNXAmYsh/+RDhJhMN8ZayY\n7PisaEIzu/JMeZLgU6c5MY/3IRuA7Qm0ZQUAQIMSqy8RhFHGiEXtgk4R36g0\nXaEM\r\n=wAwM\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"46de6313a400fbd60332b09559ae621e34e53bea","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.3","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_3.0.0-rc.8065522_1552688962845_0.1946169803092599","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"@primer/deploy","version":"3.0.0","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@3.0.0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"3c7f3cadc0061f2182f62f360cb1f61761337343","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-3.0.0.tgz","fileCount":27,"integrity":"sha512-TxDyU2vIuOwOF+VN87kZIEJMLlJCl4ZtCYYZsUTnPKmjkv7FrS18Dw3CZOMIfXiwfAA6091/JNe5YGJrzpvcUw==","signatures":[{"sig":"MEQCIFoCsDK97JvXUCWXaD6KhQ4nGaV2j1szQRm+jW3yFpMOAiA26UQU5jxfLynFixsorJ8C7NTTRAiC65z1mTQ/KfORww==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23743,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjCfnCRA9TVsSAnZWagAAQWgQAI8XCRXq5EhUPo1FJMQg\nfpRm1w9lvEuDujk/lKVxx+mqHEQ3xD9lWerdAPpJKzSxv9Q0WwrvKRgxiJvh\n5mAct+a2tgWCW1sHzOh3Gad/ThK+xH8eRS3L7Rv3Tu7ITElwQoe5LpewT5CV\nYpN/ai8md/n7TEqUiNNwlvek8H1adfD7O/bj/b6OI3eb3U9V5UfKQGbsz4BQ\niPTL/vHlKVrF00w7+FUyCLZfqtu06CWnuBNBY3hEyLbWBmEaPn8fS9t/vc0g\nLyhptVZcTGiKiil8rlPh+9tFdkU1SWRlLhDOsOR5SCWRa4xlfKgtxrh1QQSN\nifoxVk4xjSSijpkqVonfv9ZpBaBvYEPhO90UDM6l6Oo+djrXDp2Rx+AqGXUw\nIscEGGAPWAPQipXRT4RFgPx5dPy3U1tq4NpkH8hDkhY0j5m3P6CWwPKiXtZD\nZzjw9aJqCmdUFAViVUbIHP27wvv09o2wPfJwrZ2L2yQUoryU16e3eterJGvC\nxur116QMhO166HE0sNGxe4uipK/WDhjFU7OiF1XVfdFIAD8mZuEpHyVOW/qU\nJf1pnZg/dO47L3TXd5qAKCI9iqsdgYIUKUSgSnL3Uohmju+hWUYMqMMDVwCL\ncgEGAuHvxIhtlclwmVDckUK0yM9MRveDMO7/khl2E5LRJVOJq//zsHL9Ij5Q\nTl7W\r\n=8/mg\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"gitHead":"bc4097be9cb7d93c60891aee8f2ece9bb5694a96","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.3","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_3.0.0_1552689126559_0.914676905213816","host":"s3://npm-registry-packages"}},"0.0.0-e84bc9f":{"name":"@primer/deploy","version":"0.0.0-e84bc9f","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@0.0.0-e84bc9f","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"acef2904da44f69aff236aed2d4141276a0deded","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-0.0.0-e84bc9f.tgz","fileCount":32,"integrity":"sha512-6QbkcFU7cTMPP0ucjoJDK06J0Rgeef8j+BSKCCEFbyimrcLz46CRRj4mCuY+GAeQ1//+ruhRX7kzsBf50Yq7Ig==","signatures":[{"sig":"MEYCIQCpXRCYfLiLNh4VqDMTOLtetr/vpLWTdEKNfththuzF6QIhAKu502tZCaPunNhidyMSbT8uEU1r8n6eWo4bF1h84hqR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27029,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4y5oCRA9TVsSAnZWagAAQ/EP/R3GASYG7XCl0EaZv7BV\nIX15hpv9WXKrzTVfgJxfDJ7MfJAIF+VK7xQhFlD1+uT+xJjWgPlmk37c2TgX\n6UdUYT5k006TJKMvurkBNNf+2jYkRT9xAH0P5fNw+ipaVMlTf4g0c2KofpPk\nIAyIyzymJK2sVx8E8fRiqXb2MvtSMDVoKTa2JbLQoyuN7VHx8GG/G4SqwjTd\ne6mR4eh5/ZLQySjlAb5Iw3onx0hU0/DhcWuZcjWd3y3VqQDo0U9zEJ/g6JLI\n1H/Jn9y4xgGRHrgtUhaLcjLYTKlE6hqf8zH0qZ79hrp9XfOka+VHWIyMAzN/\n/i0l9+Mz7fhu1skesGCmFAA3hktIHeXIAtQA9fdjIQ36um/d1KRfPqJb625E\n2VzoERJxYCmUPGDYyTnTODGUFw8oiy6Mtjg13hI5eNkJQY6WTf8J8f1YZnOu\ndAdG0+EjXvM4jIXF4cjjmPT2gv1Tz62zcSgD8XhLa3Vs+qKP4d7bISeI/yVE\nYb84RlqY2kVrchK8N0koKUp7RI2Cm2a4vEqexF5OHX27cF8VozOAf5gCPHDe\nemCozGaxMPovbiXmKER3RUND+Hcc3BPlsRa6bXBLm0BIfu9k+Vbhd4pP37In\nt9r1T9VSfK9CcytNu6l9gKbcdkpE4Xts138zGr4Pk7HlGgQ+M5p95UMBETG1\n0X6h\r\n=W/po\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"3622f1f85c353209a85fd492488b52816e593947","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.3","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_0.0.0-e84bc9f_1558392423213_0.8721707037165527","host":"s3://npm-registry-packages"}},"0.0.0-d9013df":{"name":"@primer/deploy","version":"0.0.0-d9013df","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@0.0.0-d9013df","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"1ec909bff27ed6920c8e591f6ea13d3a2de80956","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-0.0.0-d9013df.tgz","fileCount":32,"integrity":"sha512-VesKuh8bL0wHOAwsva3wSg3Y+61BMEFQ95zGok+3dYPYRGbPs/Xlr1jIW86RolY8HeUSdVrf13rPR4FBz6POIw==","signatures":[{"sig":"MEUCIQDYXhj//eXDQlOb/kG1qUSM6i/43WHLGAbMPJ7QyqzC9AIgSeNxr5UNXLT35svthYKf6Bj3QPX3lcWqw8MV6kRlag4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc4zR0CRA9TVsSAnZWagAACpcP+wY1sCo6+ZFhbyKtXRKo\nqunpIy/kaZ/WeSRHgEcfS2M0Xryw5JeR8qBOMClAGG6mzKM6OQJFeB5HXNOh\nv2mSdl8PB0256ooRQiBet1qBAiBtVPKKbOfDhdMS9UwcPyd3n3MW1lFVWTd1\nb2VgYVfkdk2NOt3X6Xg6ByvQpWFUtAF+4zO8chiyxoe2GF+Ill5x871UMFVk\nt9Iq9fxJA/OgbiqsAmRvz0T678b4GUY4XKCmzOfU2e28ZgeMwoiflabmjvd1\nn+nU2i9elgXVuNkJsZROBtXd9DvpfSkyYtBJ3uYbcQJHtYSkVA8bQaXNO5jB\nKba2QtrqwPzudKKFenqRdlfWG9YaeUsTwm7NmntTMCtuHVjnI37LRCy0Qzch\n3mPbBDzou/7nLh3rUCr1MdwYKPK93LCWRk6v2NqzuARv2slr5apb5Jw12QAR\neJe0qm07qH9l6qXtIRvJFEqr6qyOSEBF+wT20iguR1YkinwO5o/TJjJUC82Q\nWtjAiiF7x9uiIlsHZq7DKhR6Tp49v1459BpO1A/N19kWRpbHziW8xe0Ox9dg\nh6Z3oaaaPAlrJt/Pa5Z21QGudz1Wwbs8EIJQ9YEfqLB/9oj+MW+ctjrlOe1D\nvHqqmbBnn19Rq65Z2NxyFKVglOWDSQHuSu0P3qiJGcvKqcHtDyPUowmcyiXG\n7GVS\r\n=XYii\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"a98f0f86fa0c10bda74958e3b36dfb98b2f26a67","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.3","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_0.0.0-d9013df_1558393971922_0.5963291518260556","host":"s3://npm-registry-packages"}},"0.0.0-5977860":{"name":"@primer/deploy","version":"0.0.0-5977860","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@0.0.0-5977860","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"a898a4dd3c45941c5e61c35a771b678a4f81d5c9","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-0.0.0-5977860.tgz","fileCount":32,"integrity":"sha512-u+GnFzN6odpIL2WmmPJSAkbPDCsHowAm+nYC475lq/P5Q4GAH6AEbXHbkxhTkOyUJauzabzDEI10IQ0tiTwWIg==","signatures":[{"sig":"MEYCIQDK0JMK8LVu5KVlazXpFlYKVpjvVCcGhiol6BzgflqRTgIhAP9sz3+Xvf1xvUuMqOv4h3v0SDCdR1TgIGliULnN8ouk","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27166,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc40fYCRA9TVsSAnZWagAAJuEP/3kl7lfAjnKQYRIP7+Qq\ng8oJVx7rf/VchkPDeFev/8VUuYFn3dEIvIAvhtVi7zlYkyXtJddga4ajZtnE\noDM2vmT7r8vvYL1tRl1WrKrFiL/zjersRKs9CU7hlh8s2SlOgrRVjrWCbZph\nZNjg2TNKBGksgGkJHzQsSHDLG6KArxG8WgEuyr1OMUOAOihhaE3GeuSmlj/S\nDVJogoKhCYFu2exoJs0eH077pjwoCiXWlk4sx0fvX27e1hQnwwG8A53eaScW\ne0hCVM4VbCyoDf0UyAfpRtGGV40T0Vq4lwCJhrIoy4aFUhBzV/GKBsZiu0t4\nvHKYu5iJyCF9NozfzMDcEVjEGpXFT42nUBdv8sDMFruRxIYJ3zjiTcHn9KIZ\nTkKksnykPSWTFxe0prDfXGhsO4w+XEKm9KfAm8S6JEAOwX+iIFt3XbQA6JYm\nTEfFhDHzp+agurbCnvQaC1furzYlEc5rVT41uNFN7wldocm9yd1LJJDJ4Afi\nCPEA517Z/u+o7z0LxpRWUqCQTDzytzReFbADYlIJyCOry2KWto70wj1n/hMb\nqi2elhYaGxuhyqoVLpDSiynP/cNokXf3Nzzg1LmjBvdFCGC5FFixRTFJPArg\n4yKnm5ZuQdBEoCfU6cvWIoB0q4dLJBB2g4e4KsNK9qUXgq1/1E+58uuAZBk9\n8VQT\r\n=L0QR\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"faab75d553b020a3e2f97d3702fcd6ebfa29e7fb","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.3","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_0.0.0-5977860_1558398936024_0.1496214318297211","host":"s3://npm-registry-packages"}},"0.0.0-373aca6":{"name":"@primer/deploy","version":"0.0.0-373aca6","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@0.0.0-373aca6","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"4c0facc3b72ee393901b18d99d2e86b8091b30ae","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-0.0.0-373aca6.tgz","fileCount":32,"integrity":"sha512-XYU4Q0PdFLXFeWLWn3vnAsQ1ygoFhPrnsGIr0W5FJtpVmo/wkEEL7qsvgWVFNZJuDTTITwjHWK7dPki0DOqx4Q==","signatures":[{"sig":"MEUCIBy6kK2k4eaR1QbsJNuG0BfpRRj5TEJnNTrap0x1evnUAiEAwsISFFhAItCh4ghVzxA1Gvx3cvoldn6mduh+6uL+mOA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28148,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5DMiCRA9TVsSAnZWagAAoFIP+wfmam61JdQ6ov2ZT6p+\nyd9xsbptfbW062FBSSS8s1bux6Kf/4tefRyan8eRDBkUUijU/2NGMKRjhs7Y\nKrV/mtfbwBayQbYOxpqJoZ06pDd8qxYbvLqcBruUpBFj9Z6F/mc0hj4F7PPB\nIH3K5c3a7at8N7iHyudR2c8DInvSGYRsHf7Um+5DiGpZxu71kYxeN7KH1zOa\nPOesUh8SoG25IND9vQbdoIwFWGNZjpptRsRNT53ACzj/raNdEvdlXjqZvsig\nGPQceE4ttO1gPIkndIcNudbf616RU+soM9Y0kJjBU3Ju/nxquDDH1WtJ4oM9\nWPqzdg64ZXd1d/gpcG9i9r2DS84EMFq1hqHg/N/roLxTVP2P/AJgaR3ymmiu\n/mpLQMLQSHHENnQ1bXWThCOMwemU+9sq+v42gqgCLPMUTkxwmjXlB1uH3ED7\nakY7KT2y/SyhRGgMHasUZcskUeMmCpWTfy2io0pJlmnEK4+MJ/D6C1YakcSi\nCiT6vEaF5sjQMtSX9plwvZ0hk9xWtKIoWbshkUDS3/BXWEmyb0cYb2hWR4kA\nFBvNMMK47szvEb/WEybNHzX8pId9gAHogNenPvYLuKKWmsX4cM2rB4djGGgP\nFryx9pBOxQ9zt3vHfkbNkyLpQK1MUN/cAP0mnUAYi5ij172oNrP2Tdn7ipIE\nzkJq\r\n=MrqW\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"499cc8bc2cdd6f88a0aadfb9b5c9e462547fd8e9","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.3","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","tempfile":"^3.0.0","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_0.0.0-373aca6_1558459169820_0.5904755080950628","host":"s3://npm-registry-packages"}},"0.0.0-6e16e8a":{"name":"@primer/deploy","version":"0.0.0-6e16e8a","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@0.0.0-6e16e8a","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"5bd996b52608499e3d0c49dbf052509c26d7afb7","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-0.0.0-6e16e8a.tgz","fileCount":32,"integrity":"sha512-EpA6x9XEgunArihFsHGEgvWwphGHcn42S8yjig2p+NLgdJtP1mBlargFgScIm1uqE+6uQY9nVPMb+Be1iSsaPQ==","signatures":[{"sig":"MEUCIQDfRPea+qyQop+ZkuD/VDgll8qDew5yO5RHRLf9MuyWxwIgQsLmkBC4MjVzr9CMTLXvhjkI5uGgzKA0ak1zgGpWUb8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":28839,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5EK6CRA9TVsSAnZWagAAk6oP/iNYl+aa1RiPG4EOwSoq\nu+ievuo/WLGcj6Wr060kKpIQxX1QB0o+AnaJMzbPFi4ZIsMs3aiCLix7RN5u\ne1QEqf7R8hv96GRSAXjAsi/O9L6D8Y0A1KU0bA/xtwzSwCcV4Ui+lF8l/0hH\nnSEazmSyL/JmmFeruwhg1Gu5Bu/+OhcnF3a9p/GjGbiZ+itTxTFlGebpI7jy\nFZpM57IWOnO/ToABzrQeSgNJcwC7inWZkKbjCkrR4hgJX8ookdqiaS3fFcYJ\nwv0G9TgG/HWhRYXSNIVWuGGxcWRN7R25UwGLQ1jXr7RDwgTmWc3LebViTijW\nedn3EHVMQ9vncVJ2KoHTGxt9TALMSVTQmcibwVn1U9DkL5WXuNfGmQrnMid9\n/Tjb3iwQcO6UxBoJvHUJ3Cn83iAnaCqZQ3iRNUI+NL+jT2pGuNkdGz+i9rNd\n/Q8fgq29Y04SHh/HOoNDzy1DC+yG2qtCcJ9rLSDrO28q+S30Pt6eaokXAVLD\nJ89Hb7PeNl8o2MNaS34oM2M/7dH16aV5XQhFdOeXeD3f+g8mpf3oBqqHENe6\nFWYy5U8yAxKYCARmr63mBM0rY1kOwe7PdD6gOTLxBQOVBd/xEekfll/Pe6Fb\nejYaEGQLC9uaZrG/YE8rIBUqFWikk0+LEjUotQUWzCAKb5tOn/2YgEqyZkwu\nvKZx\r\n=0yuM\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"166d1cb42dd466aed2a9683b72a6a86ecbb402d9","scripts":{"lint":"eslint *.js src","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.3","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","tempfile":"^3.0.0","mocked-env":"^1.2.4","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_0.0.0-6e16e8a_1558463161533_0.35192796195198417","host":"s3://npm-registry-packages"}},"0.0.0-13b3ddf":{"name":"@primer/deploy","version":"0.0.0-13b3ddf","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@0.0.0-13b3ddf","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"4016d54a32477810d036fcbd3cab31b835559329","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-0.0.0-13b3ddf.tgz","fileCount":29,"integrity":"sha512-FjAdKII5hkxySkgZ/3qZBnsTbUKAagopsQ5d7Sld4FtNo17PN91z8VzXVEaKJ1cQ8YfhMvG/JQfW1XA1Cj+DAA==","signatures":[{"sig":"MEUCIGU3Y7wkM+L0lD70iqJluR4wjc1yXXBkGTvCh2nPyxqWAiEAmp+36A1bb5hpkUTDoIMHt8cP6Ef/cBNDdVioFk9hILQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5JA8CRA9TVsSAnZWagAAu84P/RrYx3zw43Aqnha+JtTk\n19XoGWPV9vX+FlbA+14VxCf77slYUZDImyGv6uV0/SYFY9ngZIiMfWsiyJdV\n1GxtDa/Jj+A4v+L5BQZnAyQsDNGZpjIgzXoFuZWYeahaxjEHzKhUGT5hxq5M\neDc2XNTX+aqjKeI+dNsaZYHMl/Wmrp/u/cfOs4cWAxeVuY98uIp6fm/Jelms\nopoB2NSPg0XqiLC/2QTnGFEg4TuKQ++SOGIQwjhWtPvtxmzI0DTHE/HE1+if\nXzTaRGA4xClx9WWkB2fvu2jT0cF9/WGnr/YlM70qgPyrmgqp04BZvruggjIw\ncYk7imsAjoL2waNbBbGqJottL5p8w9GljQ/QbwDVhIw/iQUYvmYIFv4oiOHv\nqx6uembm86OSzRK8uuQjYbAp47bh5ET7SCDhKim4XAoE+KFRK7JilyqbkHcz\nyRc+JyWEHwmH/50JQRk4oCibkhoy73+rWp4/6PXdCMuYKOm80+irOb+TtNlp\n6D0QXvtxOQ8SvQuZBACJ3qDYnjzMtzhJ0g517jD8MKUm3OexqdJRqtJeDqek\nTlZSTmR8aB4ulqUW6B9L1tLJdL9MlWxoTtKBCzoHjSlkh+ccaCz+5eS/o+L7\nc6as6gcT1PijgM8S1Y+G7VNt+n+7KupHb2ol3fUgbYN+7Rnpf+DwZYpYKe6g\nUbDo\r\n=1OYI\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"212be0ee6d156782ddef8983824b29c8d5d26190","scripts":{"lint":"eslint *.js src script/prune","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.3","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","dateformat":"^3.0.3","mocked-env":"^1.2.4","@octokit/rest":"^16.26.0","isomorphic-unfetch":"^3.0.0","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_0.0.0-13b3ddf_1558483003576_0.697155794727129","host":"s3://npm-registry-packages"}},"0.0.0-93d27de":{"name":"@primer/deploy","version":"0.0.0-93d27de","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@0.0.0-93d27de","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"52d71925b8c373214173a0a55797082920b1ceb6","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-0.0.0-93d27de.tgz","fileCount":29,"integrity":"sha512-UzGd4HsBB8/X/ke5RSscmuqyiA+tK3t3ZUDsJswaEQjNbN/kx219ReumF/PFUXUQVKwbS5vMjwS3wSvHKYVBFQ==","signatures":[{"sig":"MEUCIGJ+2lDRoRCFjfXDcAQKCnbC9Rrnuuvl4p2ZMqh41atJAiEAsFjim5O8mzTOHWiu2dsQbR/G+Guh7dQcdj6BGGGPOMw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5JBuCRA9TVsSAnZWagAAKBIP/1gwyuXR83jl8Ow6qJ61\n83fbokG70tRd0ca3tFaMI9pqFy4TD0P/tYajborAE4Dje78aJVkciFSpU+vA\nQCdJEoEAAh2Jzc1s2aBEFXbMLfvlHkmeb8VtUnpRx7859gve+Q2d/3c6EVbo\nYS2SaWTaeneEkGorLv/oVgeVdF8dMbJ/74M7Ykz2GqTMZ7ATeq8uJpRP3pLK\nJP1Zsyg/b67Xpy9zWNlLIQ9k9qI3WnZi3+unz2BjTxA0EEAdxlHli1XcpGUo\niihJMmbC0t8GbNzhmaPAJrzU0MiND0xC/W0WotkHbzfrbnaFt8OLM0Qjpd05\nk1rVblIwA7hVGeFZOjldHXZyOftaWm8Cu5sNOvG4f5X4g1sSK/d17CIFnKHx\nlv6oQegAyhDcmsMsm/hGcnrLJtyV5ILM32a+Xr6CkDxhq88qGzPrBh80D9Pj\nwUvaGuYDyhJPyoWuNvRqEdwm4MgQoQEEIPWZ0J7wac/ovPdWapE5EqdsoPew\nO5uvRJ9t4G+ifFCyNi9uEgM+FMgcxai/vHTvoBWBjjtJWCsWukwStXlsgUJZ\noQE23BWQsDPGlbpV+khzvrCacuL8o2s5f8stkGbLnXkgXF7xTJffT7ItcyX+\n1Wj7RvDdv03BMd3QVt2X0dPo4JfUXAuqpBUwyR5o1ONjrOppDnJ9ENWSKlXI\n4VRB\r\n=lkUQ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"3a69a4650e2ef600cf9d6219a000c2ecc68c312e","scripts":{"lint":"eslint *.js src script/prune","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.3","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","dateformat":"^3.0.3","mocked-env":"^1.2.4","@octokit/rest":"^16.26.0","isomorphic-unfetch":"^3.0.0","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_0.0.0-93d27de_1558483053992_0.5854513830612054","host":"s3://npm-registry-packages"}},"0.0.0-16cb3f1":{"name":"@primer/deploy","version":"0.0.0-16cb3f1","author":{"name":"GitHub, Inc."},"license":"MIT","_id":"@primer/deploy@0.0.0-16cb3f1","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"bin":{"primer-deploy":"entrypoint.js"},"dist":{"shasum":"4f727a92a1566a98d23e55e3645304dd14f3a8a3","tarball":"https://registry.npmjs.org/@primer/deploy/-/deploy-0.0.0-16cb3f1.tgz","fileCount":29,"integrity":"sha512-p/Ovlvb4xkK6maD6ulE47bpmqf8JBdjei+QZ5N9riXdO9PL3l3cfadnIwqmkBDvHmUbQx5XgvrNJ+SxA5tYRWw==","signatures":[{"sig":"MEUCIQCeh2uHM7gIWlbkPhU+YsKVsd8A5JLnkWbvoifk5ENboQIgLtIJMFnR5I8ge5TUsNZdpHpxCigkiE6OMVGdfPoy+DM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":30543,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc5dxHCRA9TVsSAnZWagAAGUwQAJLVeElxLz5SDMGN0qdU\n+GCerVjGSH2LVeO+IZwJ+c3Q2bJODpo1cioendXyVFwdvi+7wNIzMIQcRPIT\nb8QZSdCg02DmqyquNcHG/TYaW2qRBrvVN+IwPKfYyJWqLGEN/xicl+yx22eN\n407T5cJYpV5DVVHc5Mngj+pDywkIOQ4UVE7TrJ7nCcDJyA/dxB8QGk3XksD9\nCF39hrlIdhcduXmNKWdDVftP/dB2CitQUAraAn94Kde5OQLhSGjXvO1Rugwz\nZs/M6dqklitDA0caAX1bMEkJDFbyqJ+WTDvlwnkcwnSMjimphJY7+om3FChn\nY9YegyiENJzMmZkkwGaknMVUjp36TCqDU6MNxq6m6iUUsZhyzUBVD2Kd/aa9\nBTDzCP3Th+SOkpHWf58Q3SnHOzoMAdZw5tYTGyyi65hg9OG7/s9Ieooj7g5a\n5G+dEmRmuMsbx9odywGvECWGiwmd1wXEocrk5ZllEMuMDuCN1SJjV7GmiQgf\nObZCIb5tmqFh9pQM999VSxQgXQTZpt6sgB/5K6ApBXKTSWKP95RtCo6JEgUg\nF02X1F9/X60440oo3seEQycWFlVF0g0Aeu5NOmcoTi92rRH9JLIjZx3UmCRR\nmEPdDnmrYubQWErIGtMl4QMMnX3Gst9Op+vcKI453/CWYvE7L9Kh6NvYLqlK\n7UoF\r\n=lWNZ\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testPathIgnorePatterns":[".eslintrc.js"]},"readme":"# primer/deploy\n\nThis [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:\n\n1. We run `now` without any arguments to get the \"root\" deployment URL, which is generated by Now.\n1. If the branch is `master`, we treat the `alias` field in `now.json` as the production URL and:\n    1. If there is a `rules.json`:\n        * `now alias <deployment> <name>.now.sh` to create a fallback URL for path aliases\n        * `now alias <deployment> <production> -r rules.json` to set up path aliases\n    1. `now alias <deployment> <production>` to alias the production URL.\n1. `now alias <deployment> <name>-<branch>.now.sh` to alias the root deployment to a branch-specific URL.\n\nThe app name (`<name>`) and branch (`<branch>`) are both \"slugified\" to strip invalid characters so that they'll work as URLs. Leading non-word characters are removed, and any sequence of characters that isn't alphanumeric or `-` is replaced with a single `-`. In other words, `@primer/css` becomes `primer-css`, `shawnbot/some_branch` becomes `shawnbot-some-branch`, and so on.\n\n## Status checks\nTwo [status checks] will be listed for this action in your checks: **deploy** is the action's check, and **deploy/alias** is a [commit status] created by the action that reports the URL and links to it via \"Details\":\n\n![image](https://user-images.githubusercontent.com/113896/52000881-f8c45980-2472-11e9-8d04-00264094437b.png)\n\n**Note:** Checks listed in the PR merge box (above) always point to the most recent commit, but you can access the list of [checks][status checks] for the last commit of every push by clicking on the status icon (usually a ![green check](https://user-images.githubusercontent.com/113896/52001573-99674900-2474-11e9-82ab-6414e3f004cf.png) or ![red x](https://user-images.githubusercontent.com/113896/52001543-88b6d300-2474-11e9-84ca-82ff51828ea9.png)) in your repo's \"Commits\" and \"Branches\" pages, or commit history on a PR page:\n\n![image](https://user-images.githubusercontent.com/113896/52001489-64f38d00-2474-11e9-92ea-827e466eb948.png)\n\n## Usage\nTo use this action in your own workflow, add the following snippet to your `.github/main.workflow` file:\n\n```hcl\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n  secrets = [\n    \"GITHUB_TOKEN\",\n    \"NOW_TOKEN\",\n  ]\n}\n```\n\n**You will need to provide a [Zeit token](https://zeit.co/account/tokens) value for the `NOW_TOKEN` secret in the Actions visual editor** if you haven't already.\n\nTo avoid racking up failed deployments, we suggest that you place this action after any linting and test actions.\n\n## Now CLI arguments\nIt's possible to pass additional arguments through to the `now` CLI via the `args` field in your workflow action. Because the `primer-deploy` CLI accepts options of its own (such as `--dry-run`), you need to prefix any `now` arguments with `--`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- --meta autoDeployed=true\"\n```\n\nYou can also use `args` to deploy a subdirectory, e.g. `docs`:\n\n```diff\naction \"deploy\" {\n  uses = \"primer/deploy@master\"\n+  args = \"-- docs\"\n```\n\n\n[now]: https://zeit.co/now\n[github actions]: https://github.com/features/actions\n[commit status]: https://developer.github.com/v3/repos/statuses/\n[status checks]: https://help.github.com/articles/about-status-checks/\n\n","gitHead":"d71e62b8b0f219cd89277f8772eb93b5384a752a","scripts":{"lint":"eslint *.js src script/prune","test":"jest","version":"script/version"},"_npmUser":{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},"_npmVersion":"6.4.1","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","directories":{},"_nodeVersion":"10.15.3","dependencies":{"now":"^13.1.2","execa":"^1.0.0","yargs":"^12.0.5","action-status":"^0.1.1","github-action-meta":"^0.1.2"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.0.0","eslint":"^5.12.1","dateformat":"^3.0.3","mocked-env":"^1.2.4","@octokit/rest":"^16.26.0","isomorphic-unfetch":"^3.0.0","eslint-plugin-github":"^1.8.1"},"_npmOperationalInternal":{"tmp":"tmp/deploy_0.0.0-16cb3f1_1558568007072_0.1480816078007383","host":"s3://npm-registry-packages"}}},"time":{"created":"2019-01-30T07:04:55.754Z","modified":"2026-04-22T18:16:35.275Z","1.0.0":"2019-01-30T07:04:55.923Z","2.0.0":"2019-02-01T23:08:05.495Z","2.1.0":"2019-02-06T21:05:42.512Z","2.2.0":"2019-02-06T21:06:49.097Z","2.2.1-rc.86613fb":"2019-02-11T19:19:39.699Z","2.2.1-rc.5fee2c3":"2019-02-11T19:23:43.372Z","2.2.1":"2019-02-11T19:27:15.098Z","2.2.2":"2019-02-11T19:30:41.912Z","0.0.0-b51f4fd":"2019-02-15T22:26:54.206Z","0.0.0-66d83b7":"2019-03-15T22:02:20.429Z","3.0.0-rc.2e0dc79":"2019-03-15T22:17:34.847Z","3.0.0-rc.7ba3861":"2019-03-15T22:18:51.914Z","3.0.0-rc.8065522":"2019-03-15T22:29:22.995Z","3.0.0":"2019-03-15T22:32:06.698Z","0.0.0-e84bc9f":"2019-05-20T22:47:03.392Z","0.0.0-d9013df":"2019-05-20T23:12:52.112Z","0.0.0-5977860":"2019-05-21T00:35:36.188Z","0.0.0-373aca6":"2019-05-21T17:19:29.954Z","0.0.0-6e16e8a":"2019-05-21T18:26:01.678Z","0.0.0-13b3ddf":"2019-05-21T23:56:43.765Z","0.0.0-93d27de":"2019-05-21T23:57:34.143Z","0.0.0-16cb3f1":"2019-05-22T23:33:27.207Z"},"author":{"name":"GitHub, Inc."},"license":"MIT","description":"This [GitHub Action][github actions] deploys to [Now] and aliases the successful deployment to a predictable URL according to the following conditions:","maintainers":[{"email":"yes@jonrohan.codes","name":"jonrohan"},{"email":"joel@hawksley.org","name":"joelhawksley"},{"email":"design-systems@github.com","name":"primer-css"},{"email":"manuelpuyol@github.com","name":"manuelpuyol"},{"email":"clay@smockle.com","name":"smockle"},{"email":"sim@simurai.com","name":"simurai"},{"email":"katehiga8@gmail.com","name":"khiga8"},{"email":"oppermann.lukas@gmail.com","name":"lukasoppermann"},{"email":"siddharth.kshetrapal@gmail.com","name":"siddharthkp"},{"email":"josh@josh.black","name":"joshblack"},{"email":"leslie@cohnwein.com","name":"lesliecdubs"}],"readme":"","readmeFilename":""}