File tree Expand file tree Collapse file tree 1 file changed +17
-19
lines changed
Expand file tree Collapse file tree 1 file changed +17
-19
lines changed Original file line number Diff line number Diff line change @@ -3,33 +3,31 @@ name: Deploy Flutter Web to GitHub Pages
33on :
44 push :
55 branches :
6- - main # main 브랜치에 푸시될 때 실행
7- paths-ignore :
8- - ' post/**'
6+ - main # main 브랜치에 푸시될 때 실행
97 workflow_dispatch : # 수동으로도 실행 가능
108
119jobs :
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
You can’t perform that action at this time.
0 commit comments