mirror of
https://github.com/zhigang1992/now-deployment.git
synced 2026-04-23 20:00:26 +08:00
010a327474bf4de7500e0c482f95fbae83299ccf
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
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.ymlexample.
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
Languages
JavaScript
51.9%
TypeScript
39.5%
HTML
8.2%
CSS
0.4%
