Skip to content

Commit

Permalink
Create sync-vercel-preview-branch.yml (#6)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Fisher <[email protected]>
  • Loading branch information
screenumass and jpfisher72 authored Apr 2, 2024
1 parent 448b8db commit 666adfa
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 666adfa

Please sign in to comment.