Skip to content

Commit

Permalink
Add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bp committed Feb 2, 2024
1 parent b9b79cd commit abb0599
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy CI

Check failure on line 1 in .github/workflows/deploy.yml

View workflow job for this annotation

GitHub Actions / deploy

.github/workflows/deploy.yml#L1

This run was manually canceled.
on:
workflow_dispatch:
branches:
- main
schedule:
- cron: '0 8 * * 1' # will run every Monday at 8 am
push:
branches: [main]
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_TOKEN }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

0 comments on commit abb0599

Please sign in to comment.