Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nexterias/actions-vercel

Deploy to Vercel with GitHub Actions
https://github.com/nexterias/actions-vercel

actions github-actions vercel

Last synced: 5 days ago
JSON representation

Deploy to Vercel with GitHub Actions

Awesome Lists containing this project

README

        

# actions-vercel

[![CI](https://github.com/nexterias/actions-vercel/actions/workflows/ci.yml/badge.svg)](https://github.com/nexterias/actions-vercel/actions/workflows/ci.yml)

Deploy to Vercel with GitHub Actions

## Usage

```yml
name: Vercel

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
pull_request:

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
statuses: write
pull-requests: write

steps:
- uses: actions/checkout@v3

- uses: nexterias/actions-vercel@v1
with:
token: ${{ secrets.YOUR_VERCEL_TOKEN }}
org-id: ${{ secrets.YOUR_VERCEL_ORG_ID }}
project-id: ${{ secrets.YOUR_VERCEL_PROJECT_ID }}
production: ${{ github.ref == 'refs/heads/main' }}
prebuilt: true # If set to true, build will be performed using GitHub Actions.
```

## Examples

- [nexterias/homepage](https://github.com/nexterias/homepage)