2019-10-17 13:32:33 +09:00
2019-10-17 12:22:50 +09:00
2019-10-17 12:22:50 +09:00
2019-08-26 12:41:05 +02:00
2019-10-16 19:36:33 +09:00
2019-10-17 12:22:50 +09:00
2019-10-17 12:22:50 +09:00
2019-10-17 12:22:50 +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 13:32:33 +09:00

ZEIT Now Deployment

ZEIT Now is a cloud platform for static sites and Serverless Functions

This action make a deployment with github actions instead of ZEIT Now builder.

  • Deploy to ZEIT now.
  • Comment on pull request.
  • Create Deployment on github.

Result

preview

pull request example

Inputs

zeit-token

required ZEIT now token.

zeit-team-id

This is required if your deployment is made on team project. example: team_asdf1234

github-token

required This is required to comment on pull request.

Outputs

preview-url

The url of deployment preview.

Example Usage

  • This is a complete .github/workflow/deploy.yml example.
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
Description
No description provided
Readme 47 MiB
Languages
JavaScript 51.9%
TypeScript 39.5%
HTML 8.2%
CSS 0.4%