Skip to content

Commit 4e8665d

Browse files
committed
re-generate descriptive & permalink names
1 parent a508c06 commit 4e8665d

File tree

3 files changed

+24
-11
lines changed

3 files changed

+24
-11
lines changed

.github/workflows/publish-github-pages.yml

+19-9
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,15 @@
1313
#
1414
# -----------------------------------------------------------------------------
1515

16-
# Simple workflow for deploying static content to GitHub Pages
16+
# https://xpack-dev-tools.github.io/xpack-dev-tools.github.io/
17+
# https://github.com/xpack-dev-tools/xpack-dev-tools.github.io/actions/workflows/publish-github-pages.yml
18+
19+
# Workflow for deploying static content to GitHub Pages.
1720
name: GitHub Pages
1821

22+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
1923
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
24+
2025
on:
2126
# Runs on pushes, if all conditions are met:
2227
push:
@@ -36,27 +41,29 @@ on:
3641
- '.github/workflows/publish-github-pages.yml'
3742
- 'package.json'
3843

39-
# Allows you to run this workflow manually from the Actions tab
44+
# Allows you to run this workflow manually from the Actions tab.
4045
workflow_dispatch:
4146

42-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
47+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages.
4348
permissions:
4449
contents: read
4550
pages: write
4651
id-token: write
4752

48-
# Allow one concurrent deployment
53+
# Allow one concurrent deployment.
54+
# https://docs.github.com/en/actions/using-jobs/using-concurrency
4955
concurrency:
5056
group: "pages"
5157
cancel-in-progress: true
5258

5359
jobs:
54-
# Single deploy job since we're just deploying
60+
# Single deploy job since we're just deploying.
5561
# https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
5662
deploy:
5763
environment:
5864
name: github-pages
5965
url: ${{steps.deployment.outputs.page_url}}
66+
# https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources
6067
runs-on: ubuntu-24.04
6168

6269
steps:
@@ -71,26 +78,29 @@ jobs:
7178
# https://github.com/actions/setup-node
7279
uses: actions/setup-node@v4
7380
with:
81+
# Node LTS version.
7482
node-version: 20
7583

7684
- name: Install dependencies
77-
run: npm ci -C website
85+
run: (cd website; npm ci)
7886

7987
- name: Build the Docusaurus site
80-
run: npm run build -C website
88+
run: (cd website; npm run build)
8189

8290
- name: Setup Pages
8391
# https://github.com/actions/configure-pages
8492
uses: actions/configure-pages@v5
8593

86-
- name: Upload artifact
94+
- name: Upload Pages artifact
8795
# https://github.com/actions/upload-pages-artifact
8896
uses: actions/upload-pages-artifact@v3
8997
with:
9098
# Upload entire repository
9199
path: './website/build'
92100

93101
- name: Deploy to GitHub Pages
94-
id: deployment
102+
id: deployment # referred by environment above, to get the URL.
95103
# https://github.com/actions/deploy-pages
96104
uses: actions/deploy-pages@v4
105+
with:
106+
artifact_name: github-pages

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,10 @@ build*/
154154
Thumbs.db
155155
.DS_Store
156156

157+
tests/top
158+
157159
website/.docusaurus
158160
website/build
161+
website/html
159162

160163
# ----- end -----

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
"liquidjs": "^10.19.1"
3737
},
3838
"topConfig": {
39-
"longName": "Binary Development Tools",
40-
"shortName": "xpack-dev-tools.github.io",
39+
"descriptiveName": "Binary Development Tools",
40+
"permalinkName": "xpack-dev-tools.github.io",
4141
"isOrganizationWeb": "true",
4242
"hasTriggerPublishPreview": "true",
4343
"hasEmptyMaster": "true"

0 commit comments

Comments
 (0)