-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70061b4
commit 90c06a6
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Auto update | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: 0 0 * * * | ||
|
||
jobs: | ||
taze: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: latest | ||
|
||
- name: Set node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
cache: pnpm | ||
|
||
- name: Check updates | ||
id: taze | ||
run: pnpx taze -a --failOnOutdated | ||
continue-on-error: true | ||
- name: Updates dependencies | ||
if: steps.taze.outcome == 'failure' | ||
run: | | ||
pnpx taze -w | ||
pnpm update | ||
- name: Commit changes | ||
if: steps.taze.outcome == 'failure' | ||
run: | | ||
git config --local user.name 'github-actions[bot]' | ||
git config --local user.email 'github-actions[bot]@users.noreply.github.com' | ||
git add package.json pnpm-lock.yaml | ||
git commit -m 'chore(deps): update dependencies' | ||
git push |
90c06a6
There was a problem hiding this comment.
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:
endless-chat – ./
c1.muspimerol.site
e2.free-chat.asia
e1.frechat.xyz
e2.frechat.xyz
e3.frechat.xyz
e1.free-chat.asia
e5.free-chat.asia
e4.frechat.xyz
e3.free-chat.asia
e4.free-chat.asia
endless.free-chat.asia
endless-chat-promplate.vercel.app
e1.muspimerol.site
c2.muspimerol.site
endless-chat-git-promplate-demo-promplate.vercel.app
endless-chat.vercel.app