Skip to content

Commit 1f509f1

Browse files
committed
Disable inherited upstream workflow — not applicable to this repo
1 parent 57526fc commit 1f509f1

1 file changed

Lines changed: 3 additions & 38 deletions

File tree

.github/workflows/theme-update.yml

Lines changed: 3 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,3 @@
1-
name: "Theme Update"
2-
3-
on:
4-
schedule:
5-
- cron: "0 0 * * *"
6-
7-
jobs:
8-
update-theme:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v6
12-
with:
13-
ref: main
14-
15-
# Setup mise
16-
- uses: jdx/mise-action@v3
17-
18-
- name: Install dependencies
19-
run: |
20-
mise run install # install theme dependency
21-
22-
- name: Update theme to latest commit
23-
run: |
24-
mise run update-to-main
25-
26-
- name: Build
27-
run: |
28-
# build the site
29-
hugo --minify
30-
# remove file generated by the build
31-
rm -rf public/
32-
33-
- name: Create Pull Request
34-
uses: peter-evans/create-pull-request@v8
35-
with:
36-
base: main
37-
title: Update theme
38-
labels: automerge
1+
# This workflow was part of the upstream toha-example-site repo.
2+
# It uses mise and is for theme maintainers only.
3+
# Disabled — not applicable to this repo.

0 commit comments

Comments
 (0)