Skip to content

Commit 10afc18

Browse files
committed
ci: Drop pointless over commenting
1 parent 3695adf commit 10afc18

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,28 @@
1-
# Building and deploying a Docusaurus site to GitHub Pages
2-
name: Deploy Docusaurus with GitHub Pages dependencies preinstalled
1+
name: Deploy
32

43
on:
5-
# Runs on pushes targeting the default branch
64
push:
75
branches: ["main"]
8-
9-
# Allows you to run this workflow manually from the Actions tab
106
workflow_dispatch:
117

12-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
138
permissions:
149
contents: read
1510
pages: write
1611
id-token: write
1712

18-
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
19-
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2013
concurrency:
2114
group: "pages"
2215
cancel-in-progress: false
2316

2417
jobs:
25-
# Build job
2618
build:
2719
runs-on: ubuntu-latest
2820
steps:
2921
- name: Checkout
3022
uses: actions/checkout@v4
3123
with:
32-
# Number of commits to fetch. 0 indicates all history for all branches and tags.
33-
# Needed for sitemap generation with valid lastmod https://github.com/facebook/docusaurus/pull/9954#issuecomment-2032900942
24+
# Needed for sitemap generation with valid lastmod
25+
# https://github.com/facebook/docusaurus/pull/9954#issuecomment-2032900942
3426
fetch-depth: 0
3527
- uses: actions/setup-node@v4
3628
with:
@@ -47,7 +39,6 @@ jobs:
4739
with:
4840
path: ./build
4941

50-
# Deployment job
5142
deploy:
5243
environment:
5344
name: github-pages

0 commit comments

Comments
 (0)