Skip to content

Commit

Permalink
Update and rename install-cd.yml to deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
crstlnz authored Jun 28, 2024
1 parent 5611c26 commit 61ec263
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 44 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Vercel Deploy

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

on:
push:
branches: [master]
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.VERCEL_TOKEN }}
org-id: ${{ variables.VERCEL_ORG_ID }}
project-id: ${{ variables.VERCEL_PROJECT_ID }}
production: ${{ github.ref == 'refs/heads/master' }}
# prebuilt: true # If set to true, build will be performed using GitHub Actions.
44 changes: 0 additions & 44 deletions .github/workflows/install-cd.yml

This file was deleted.

0 comments on commit 61ec263

Please sign in to comment.