Skip to content

Commit be5f397

Browse files
committed
GitHub Actions 워크플로우 수정
1 parent d3542f3 commit be5f397

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

.github/workflows/deploy.yml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,31 @@ name: Deploy Flutter Web to GitHub Pages
33
on:
44
push:
55
branches:
6-
- main # main 브랜치에 푸시될 때 실행
7-
paths-ignore:
8-
- 'post/**'
6+
- main # main 브랜치에 푸시될 때 실행
97
workflow_dispatch: # 수동으로도 실행 가능
108

119
jobs:
1210
build:
1311
runs-on: ubuntu-latest
1412

1513
steps:
16-
- name: Checkout code
17-
uses: actions/checkout@v4
14+
- name: Checkout code
15+
uses: actions/checkout@v4
1816

19-
- name: Set up Flutter
20-
uses: subosito/flutter-action@v2
21-
with:
22-
flutter-version: '3.19.0'
17+
- name: Set up Flutter
18+
uses: subosito/flutter-action@v2
19+
with:
20+
flutter-version: "3.19.0"
2321

24-
- name: Install dependencies
25-
run: flutter pub get
22+
- name: Install dependencies
23+
run: flutter pub get
2624

27-
- name: Build Flutter web
28-
run: flutter build web
25+
- name: Build Flutter web
26+
run: flutter build web
2927

30-
- name: Deploy to GitHub Pages
31-
uses: peaceiris/actions-gh-pages@v3
32-
with:
33-
github_token: ${{ secrets.ACTIONS_DEPLOY_KEY }}
34-
publish_dir: build/web
35-
keep_files: true
28+
- name: Deploy to GitHub Pages
29+
uses: peaceiris/actions-gh-pages@v3
30+
with:
31+
github_token: ${{ secrets.ACTIONS_DEPLOY_KEY }}
32+
publish_dir: build/web
33+
keep_files: true

0 commit comments

Comments
 (0)