-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (30 loc) · 1.33 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Vercel Actions
on:
push:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Vercel Actions
uses: nexterias/[email protected]
with:
# Vercel token: https://vercel.com/account/tokens
token: ${{ secrets.VERCEL_TOKEN }} # Replace with your Vercel token
# Vercel project ID
project-id: ${{ secrets.VERCEL_PROJECT_ID }} # Replace with your Vercel project ID
# User ID within Vercel
org-id: ${{ secrets.VERCEL_ORG_ID }} # Replace with your Vercel org ID
# Personal Access Token (PAT) is used to create commit status and deployments.
github-token: ${{ github.token }} # optional, default is ${{ github.token }}
# Create a production deployment
production: true # optional, default is false
# Use the --prebuilt option
prebuilt: false # optional, default is false
# Current Working Directory (default: process.cwd())
cwd: ./ # optional
# Assign domains (multiple domains can be specified)
domain-alias: theworldmachine.xyz # optional
# Name for the target deployment environment
github-deployment-environment: production # optional
# Deployment is public (`/_src` is exposed)
public: true # optional, default is false