Skip to content

Commit

Permalink
Merge pull request #43 from jpcmf/fix/github-actions-vercel-6
Browse files Browse the repository at this point in the history
fix: Replace script
  • Loading branch information
jpcmf authored Nov 8, 2024
2 parents 1887b1b + 222478d commit 9739da1
Show file tree
Hide file tree
Showing 3 changed files with 121 additions and 149 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deploy CI
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
jobs:
deploy:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy to Vercel Action
uses: BetaHuhn/deploy-to-vercel-action@v1
with:
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
48 changes: 0 additions & 48 deletions .github/workflows/main.yaml

This file was deleted.

Loading

0 comments on commit 9739da1

Please sign in to comment.