Skip to content

Commit

Permalink
ci: auto push to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed May 7, 2023
1 parent 8181e97 commit acdc8cc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
matrix:
node-version: [18.x]
steps:
- name: Push to next
if: github.ref == 'refs/heads/latest'
run: sh .github/workflows/push_to_next.sh
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/push_to_next.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

git config --global user.email "${{secrets.EMAIL_ADDRESS}}"
git config --global user.name "${{secrets.GIT_NAME}}"
git checkout -b next
git push origin next -f

1 comment on commit acdc8cc

@vercel
Copy link

@vercel vercel bot commented on acdc8cc May 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vest-next – ./website

vest-next.vercel.app
vest-next-git-latest-ealush.vercel.app
vest-website.vercel.app
vest-next-ealush.vercel.app

Please sign in to comment.