Skip to content

Commit 34cdf4d

Browse files
committed
Update GitHub Actions workflow and .npmignore configuration
1 parent 9fbb7be commit 34cdf4d

2 files changed

Lines changed: 30 additions & 30 deletions

File tree

.github/workflows/static.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,42 @@
22
name: Deploy static content to Pages
33

44
on:
5-
# Runs on pushes targeting the default branch
6-
push:
7-
branches: ["master"]
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ['master']
88

9-
# Allows you to run this workflow manually from the Actions tab
10-
workflow_dispatch:
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
1111

1212
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1313
permissions:
14-
contents: read
15-
pages: write
16-
id-token: write
14+
contents: read
15+
pages: write
16+
id-token: write
1717

1818
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1919
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2020
concurrency:
21-
group: "pages"
22-
cancel-in-progress: false
21+
group: 'pages'
22+
cancel-in-progress: false
2323

2424
jobs:
25-
# Single deploy job since we're just deploying
26-
deploy:
27-
environment:
28-
name: github-pages
29-
url: ${{ steps.deployment.outputs.page_url }}
30-
runs-on: ubuntu-latest
31-
steps:
32-
- name: Checkout
33-
uses: actions/checkout@v3
34-
- name: Setup Pages
35-
uses: actions/configure-pages@v3
36-
- name: Upload artifact
37-
uses: actions/upload-pages-artifact@v2
38-
with:
39-
# Upload entire repository
40-
path: './docs'
41-
- name: Deploy to GitHub Pages
42-
id: deployment
43-
uses: actions/deploy-pages@v2
25+
# Single deploy job since we're just deploying
26+
deploy:
27+
environment:
28+
name: github-pages
29+
url: ${{ steps.deployment.outputs.page_url }}
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v3
34+
- name: Setup Pages
35+
uses: actions/configure-pages@v3
36+
- name: Upload artifact
37+
uses: actions/upload-pages-artifact@v4
38+
with:
39+
# Upload entire repository
40+
path: './docs'
41+
- name: Deploy to GitHub Pages
42+
id: deployment
43+
uses: actions/deploy-pages@v2

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ typedoc.js
1313
yarn.lock
1414
.vscode
1515
renovate.json
16-
.eslintrc
16+
eslint.config.mjs
1717
.github
1818
*.tgz
1919
test

0 commit comments

Comments
 (0)