Skip to content

Commit a513100

Browse files
committed
Disable inherited upstream workflow — not applicable to this repo
1 parent 4f8e43b commit a513100

1 file changed

Lines changed: 3 additions & 44 deletions

File tree

Lines changed: 3 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,3 @@
1-
name: Merge to main workflows
2-
3-
# run when a commit is pushed to "source" branch
4-
on:
5-
push:
6-
branches:
7-
- main
8-
9-
jobs:
10-
deploy-to-gh-pages:
11-
runs-on: ubuntu-latest
12-
steps:
13-
# checkout to the commit that has been pushed
14-
- uses: actions/checkout@v6
15-
16-
- name: Setup Hugo
17-
uses: peaceiris/actions-hugo@v3.0.0
18-
with:
19-
hugo-version: 'latest'
20-
extended: true
21-
22-
- name: Update Hugo Modules
23-
run: hugo mod tidy
24-
25-
- name: Setup Node
26-
uses: actions/setup-node@v6
27-
with:
28-
node-version: 18
29-
30-
- name: Install node modules
31-
run: |
32-
hugo mod npm pack
33-
npm install
34-
35-
- name: Build
36-
run: hugo --minify
37-
38-
# push the generated content into the `gh-pages` branch.
39-
- name: Deploy
40-
uses: peaceiris/actions-gh-pages@v4.0.0
41-
with:
42-
github_token: ${{ secrets.GITHUB_TOKEN }}
43-
publish_branch: gh-pages
44-
publish_dir: ./public
1+
# This workflow was part of the upstream toha-example-site repo.
2+
# It has been disabled — this repo uses deploy.yml for GitHub Pages deployment.
3+
# Kept as a placeholder to prevent re-introduction on upstream sync.

0 commit comments

Comments
 (0)