Skip to content

Commit

Permalink
Merge pull request #39 from samuelarbibe/deploy-actions
Browse files Browse the repository at this point in the history
Create deploy.yml
  • Loading branch information
samuelarbibe authored Jun 28, 2024
2 parents 41f074c + 828abfb commit e11da0f
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Deploy dnd-timeline examples template
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}

jobs:
deploy_production:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Deploy to Vercel
run: vercel --prod --projectId=${{ secrets.VERCEL_PROJECT_ID }}

10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Deploy dnd-timeline examples
on:
push:
branches:
- main

jobs:
deploy_timeaxis:
environment: Production - dnd-timeline-timeaxis
uses: samuelarbibe/dnd-timeline/.github/workflows/deploy.yml@main

0 comments on commit e11da0f

Please sign in to comment.