Skip to content

Commit

Permalink
ci: Update dependency-update.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
priyankarpal authored Apr 2, 2023
1 parent ebee496 commit ca43b63
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/dependency-update.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
name: Update Dependencies
name: Update dependencies

on:
schedule:
- cron: "0 0 * * *"
- cron: '0 0 * * *' # Run every day at midnight

jobs:
update-dependencies:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
issues: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false
fetch-depth: 0
persist-credentials: false
fetch-depth: 0

- name: Install Node.js and Yarn
uses: actions/setup-node@v3
with:
node-version: "18.x"
cache: "yarn"
node-version: '18.x'
cache: 'yarn'

- name: Update dependencies
run: |
Expand All @@ -39,5 +39,6 @@ jobs:
- name: Push changes
uses: ad-m/github-push-action@master
with:
token: ${{secrets.DEPENDENCY_SECRET}}
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

1 comment on commit ca43b63

@vercel
Copy link

@vercel vercel bot commented on ca43b63 Apr 2, 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:

projectshut – ./

projectshut-priyankarpal.vercel.app
projectshut-git-main-priyankarpal.vercel.app
projectshut.vercel.app

Please sign in to comment.