Skip to content

Commit 3a77d74

Browse files
committed
ci: Update and refactor GitHub Actions workflows
1 parent 78cc1b4 commit 3a77d74

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
submodules: true # Fetch Hugo themes (true OR recursive)
3939
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
4040
- name: Install Dart-Sass
41-
run: sudo snap install dart-sass
41+
uses: dw-labs-org/dart-sass-gha@v1
4242
- name: Setup Hugo
4343
uses: peaceiris/actions-hugo@v3
4444
with:

.github/workflows/update-theme.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ name: Update theme
33
# Controls when the workflow will run
44
on:
55
schedule:
6-
# Update theme automatically everyday at 00:00 UTC
7-
- cron: '0 0 * * *'
6+
# Update theme automatically every week at 00:00 on Sunday
7+
- cron: '0 0 * * 0'
88
# Allows you to run this workflow manually from the Actions tab
99
workflow_dispatch:
1010

1111
permissions:
1212
contents: write
13-
id-token: write
1413

1514
jobs:
1615
Update-FixIt-bundle:

0 commit comments

Comments
 (0)