Skip to content

Commit

Permalink
feature: added schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
j0rd1smit committed Jun 5, 2024
1 parent f6fdc9b commit aa47193
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
pull_request:
branches:
- main
schedule:
- cron: 0 4 * * *

jobs:
pre_commit:
Expand Down Expand Up @@ -41,7 +43,6 @@ jobs:

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
- id: mixed-line-ending

- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.6.0
rev: v2.13.0
hooks:
- id: pretty-format-toml
args: [--autofix]
Expand Down

0 comments on commit aa47193

Please sign in to comment.