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 f248350
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,16 @@ jobs:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- 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:
node-version: ${{ matrix.node-version }}
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: bahmutov/npm-install@v1
- name: Test
run: yarn test
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 f248350

@vercel
Copy link

@vercel vercel bot commented on f248350 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-ealush.vercel.app
vest-website.vercel.app
vest-next-git-latest-ealush.vercel.app

Please sign in to comment.