Skip to content

Commit

Permalink
Create sync-vercel-preview-branch.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfisher72 authored Apr 2, 2024
1 parent bfd1c20 commit 48a0ac6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/sync-vercel-preview-branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Sync master to vercel-preview

on:
push:
branches:
- master

jobs:
sync-branches:
runs-on: ubuntu-latest
name: Syncing branches
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 12
- name: Opening pull request
id: pull
uses: tretuna/[email protected]
with:
GITHUB_TOKEN: ${{secrets.VERCEL_TOKEN}}
FROM_BRANCH: 'master'
TO_BRANCH: 'vercel-preview'

0 comments on commit 48a0ac6

Please sign in to comment.