Skip to content

Commit 87b6d2f

Browse files
committed
cleanup(workflow): format
1 parent 1d25f32 commit 87b6d2f

File tree

3 files changed

+29
-29
lines changed

3 files changed

+29
-29
lines changed

.github/workflows/deploy.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ jobs:
4646
steps:
4747
- name: Deploy to GitHub Pages
4848
id: deployment
49-
uses: actions/deploy-pages@v4
49+
uses: actions/deploy-pages@v4

.github/workflows/mirror.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ name: Mirror to Codeberg
22

33
on:
44
push:
5-
branches: ['main']
6-
5+
branches: ["main"]
6+
77
jobs:
88
build:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v4
13-
with:
14-
fetch-depth: 0
15-
- name: mirror-repository
16-
uses: spyoungtech/[email protected]
17-
with:
18-
REMOTE: 'https://codeberg.org/semantic/pages.git'
19-
GIT_USERNAME: gxbs
20-
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0
15+
- name: mirror-repository
16+
uses: spyoungtech/[email protected]
17+
with:
18+
REMOTE: "https://codeberg.org/semantic/pages.git"
19+
GIT_USERNAME: gxbs
20+
GIT_PASSWORD: ${{ secrets.GIT_PASSWORD }}

.github/workflows/pr.yml

+17-17
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@ jobs:
99
build:
1010
name: Build and Test
1111
runs-on: ubuntu-latest
12-
12+
1313
steps:
14-
- name: Checkout repository
15-
uses: actions/checkout@v4
16-
17-
- name: Set up Node.js
18-
uses: actions/setup-node@v4
19-
with:
20-
node-version: latest
21-
22-
- name: Set up PNPM
23-
uses: pnpm/action-setup@v3
24-
with:
14+
- name: Checkout repository
15+
uses: actions/checkout@v4
16+
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: latest
21+
22+
- name: Set up PNPM
23+
uses: pnpm/action-setup@v3
24+
with:
2525
version: latest
2626

27-
- name: Install dependencies
28-
run: pnpm install
29-
30-
- name: Build project
31-
run: pnpm run docs:build
27+
- name: Install dependencies
28+
run: pnpm install
29+
30+
- name: Build project
31+
run: pnpm run docs:build

0 commit comments

Comments
 (0)