Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/nexterias/actions-vercel
- Owner: nexterias
- License: mit
- Created: 2023-04-16T13:50:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-23T19:15:57.000Z (2 months ago)
- Last Synced: 2024-10-24T17:13:57.264Z (2 months ago)
- Topics: actions, github-actions, vercel
- Language: TypeScript
- Homepage: https://actions-vercel.nexterias.dev
- Size: 1.9 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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: Vercelconcurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: trueon:
push:
pull_request:jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
statuses: write
pull-requests: writesteps:
- 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)