2019-12-03 00:05:05 +09:00
2019-10-17 19:17:54 +09:00
2019-10-17 12:22:50 +09:00
2019-10-17 12:36:15 +09:00
2019-12-03 00:05:05 +09:00
2019-10-17 12:36:15 +09:00
2019-10-16 19:36:33 +09:00
2019-10-17 12:36:15 +09:00
2019-10-17 13:03:10 +09:00
2019-10-17 12:36:15 +09:00
2019-10-17 12:46:47 +09:00
2019-10-17 12:22:50 +09:00
2019-10-17 12:22:50 +09:00
2019-08-26 15:36:41 +02:00
2019-10-17 12:52:52 +09:00

Now Deployment

Github action to comment with the now.sh deployment preview URL

Inspired by netlify.com deployment preview comments

Result

preview

Requirements

Example

  • This is a complete .github/workflow/deploy-preview.yml example.
  • Be sure to include -m commit=${GITHUB_SHA} -m branch=${GITHUB_REF} in the now deploy command or the pull request comment will fail.
name: deploy website preview
on: [pull_request]
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: amondnet/now-deployment-comment@release/v1
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}
          zeit-token: ${{ secrets.ZEIT_TOKEN }}
          zeit-team-id: team_XXXXXXXXXXX

License WTFPL2

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                   Version 2, December 2004

Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

           DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

 0. You just DO WHAT THE FUCK YOU WANT TO.
Description
No description provided
Readme 47 MiB
Languages
JavaScript 51.9%
TypeScript 39.5%
HTML 8.2%
CSS 0.4%