File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 28
28
29
29
# Zip and upload the static site.
30
30
- name : Upload artifact
31
- uses : actions/upload-pages-artifact@v1
31
+ uses : actions/upload-pages-artifact@v3
32
32
with :
33
33
path : ./doc/website/build
34
34
49
49
steps :
50
50
- name : Deploy to GitHub Pages
51
51
id : deployment
52
- uses : actions/deploy-pages@v2
52
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 24
24
25
25
# Run all tests
26
26
- run : flutter test
27
+
28
+ build-website :
29
+ runs-on : ubuntu-latest
30
+ defaults :
31
+ run :
32
+ working-directory : ./doc/website
33
+ steps :
34
+ # Checkout the repository
35
+ - uses : actions/checkout@v3
36
+
37
+ # Setup a Dart environment
38
+ - uses : dart-lang/setup-dart@v1
39
+
40
+ # Download all the packages that the app uses
41
+ - run : dart pub get
42
+
43
+ # Build the static site
44
+ - run : dart run bin/flutter_test_robots_docs.dart
45
+ env :
46
+ GHUB_DOC_WEBSITE_TOKEN : ${{ vars.GHUB_DOC_WEBSITE_TOKEN }}
You can’t perform that action at this time.
0 commit comments