Skip to content

Commit 3aab8ae

Browse files
committed
fix: format YAML indentation for GitHub Actions workflow
1 parent dd79bfc commit 3aab8ae

1 file changed

Lines changed: 38 additions & 38 deletions

File tree

.github/workflows/deploy-pages.yml

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,45 @@
11
name: Deploy to GitHub Pages
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
88

99
permissions:
10-
contents: read
11-
pages: write
12-
id-token: write
10+
contents: read
11+
pages: write
12+
id-token: write
1313

1414
jobs:
15-
build_and_deploy:
16-
runs-on: ubuntu-latest
17-
steps:
18-
- name: Checkout
19-
uses: actions/checkout@v4
20-
21-
- name: Setup Node.js
22-
uses: actions/setup-node@v4
23-
with:
24-
node-version: '18'
25-
26-
- name: Install dependencies
27-
run: npm ci
28-
29-
- name: Type check
30-
run: npx tsc --noEmit
31-
32-
- name: Build
33-
run: npm run build
34-
35-
- name: Upload artifact for GitHub Pages
36-
uses: actions/upload-pages-artifact@v1
37-
with:
38-
path: ./dist
39-
40-
deploy:
41-
needs: build_and_deploy
42-
runs-on: ubuntu-latest
43-
steps:
44-
- name: Deploy to GitHub Pages
45-
uses: actions/deploy-pages@v1
15+
build_and_deploy:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Setup Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: "18"
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Type check
30+
run: npx tsc --noEmit
31+
32+
- name: Build
33+
run: npm run build
34+
35+
- name: Upload artifact for GitHub Pages
36+
uses: actions/upload-pages-artifact@v1
37+
with:
38+
path: ./dist
39+
40+
deploy:
41+
needs: build_and_deploy
42+
runs-on: ubuntu-latest
43+
steps:
44+
- name: Deploy to GitHub Pages
45+
uses: actions/deploy-pages@v1

0 commit comments

Comments
 (0)