Skip to content

Commit d662666

Browse files
committed
commented out the workflows
1 parent 96c76f7 commit d662666

1 file changed

Lines changed: 67 additions & 67 deletions

File tree

.github/workflows/build_web.yaml

Lines changed: 67 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,82 @@
1-
name: Deploy Cooketh Flow Web
1+
# name: Deploy Cooketh Flow Web
22

3-
on:
4-
push:
5-
branches:
6-
- master
3+
# on:
4+
# push:
5+
# branches:
6+
# - master
77

8-
permissions:
9-
contents: write
8+
# permissions:
9+
# contents: write
1010

11-
jobs:
12-
build-and-deploy:
13-
runs-on: ubuntu-latest
11+
# jobs:
12+
# build-and-deploy:
13+
# runs-on: ubuntu-latest
1414

15-
steps:
16-
- name: Checkout code
17-
uses: actions/checkout@v4
15+
# steps:
16+
# - name: Checkout code
17+
# uses: actions/checkout@v4
1818

19-
- name: Set up Flutter
20-
uses: subosito/flutter-action@v2
21-
with:
22-
flutter-version: '3.29.2'
23-
channel: 'stable'
19+
# - name: Set up Flutter
20+
# uses: subosito/flutter-action@v2
21+
# with:
22+
# flutter-version: '3.29.2'
23+
# channel: 'stable'
2424

25-
- name: Enable web support
26-
run: flutter config --enable-web
25+
# - name: Enable web support
26+
# run: flutter config --enable-web
2727

28-
- name: Check Flutter setup
29-
run: flutter doctor
28+
# - name: Check Flutter setup
29+
# run: flutter doctor
3030

31-
- name: Install dependencies
32-
run: flutter pub get
31+
# - name: Install dependencies
32+
# run: flutter pub get
3333

34-
- name: Verify web configuration
35-
run: |
36-
if [ -f "web/index.html" ]; then
37-
echo "Web configuration found"
38-
else
39-
echo "Error: web/index.html not found. Ensure web support is enabled in your project."
40-
exit 1
41-
fi
34+
# - name: Verify web configuration
35+
# run: |
36+
# if [ -f "web/index.html" ]; then
37+
# echo "Web configuration found"
38+
# else
39+
# echo "Error: web/index.html not found. Ensure web support is enabled in your project."
40+
# exit 1
41+
# fi
4242

43-
- name: Build web
44-
run: flutter build web --release
43+
# - name: Build web
44+
# run: flutter build web --release
4545

46-
- name: Debug build output
47-
run: |
48-
echo "Current directory: $(pwd)"
49-
ls -la
50-
if [ -d "build/web" ]; then
51-
echo "build/web exists"
52-
ls -la build/web
53-
else
54-
echo "Error: build/web directory not found"
55-
exit 1
56-
fi
46+
# - name: Debug build output
47+
# run: |
48+
# echo "Current directory: $(pwd)"
49+
# ls -la
50+
# if [ -d "build/web" ]; then
51+
# echo "build/web exists"
52+
# ls -la build/web
53+
# else
54+
# echo "Error: build/web directory not found"
55+
# exit 1
56+
# fi
5757

58-
- name: Copy build to temporary directory
59-
run: |
60-
mkdir -p /tmp/web-build
61-
cp -r build/web/* /tmp/web-build/
58+
# - name: Copy build to temporary directory
59+
# run: |
60+
# mkdir -p /tmp/web-build
61+
# cp -r build/web/* /tmp/web-build/
6262

63-
- name: Debug temporary directory
64-
run: |
65-
echo "Temporary directory contents:"
66-
ls -la /tmp/web-build/
63+
# - name: Debug temporary directory
64+
# run: |
65+
# echo "Temporary directory contents:"
66+
# ls -la /tmp/web-build/
6767

68-
- name: Create or update gh-pages branch
69-
run: |
70-
git config --global user.name 'github-actions[bot]'
71-
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
72-
git checkout -B gh-pages
73-
rm -rf ./*
74-
cp -r /tmp/web-build/* .
75-
git add .
76-
git commit -m "Deploy web build to gh-pages" || echo "No changes to commit"
77-
git push origin gh-pages --force
68+
# - name: Create or update gh-pages branch
69+
# run: |
70+
# git config --global user.name 'github-actions[bot]'
71+
# git config --global user.email 'github-actions[bot]@users.noreply.github.com'
72+
# git checkout -B gh-pages
73+
# rm -rf ./*
74+
# cp -r /tmp/web-build/* .
75+
# git add .
76+
# git commit -m "Deploy web build to gh-pages" || echo "No changes to commit"
77+
# git push origin gh-pages --force
7878

79-
- name: Debug gh-pages branch contents
80-
run: |
81-
echo "gh-pages branch contents after deployment:"
82-
ls -la
79+
# - name: Debug gh-pages branch contents
80+
# run: |
81+
# echo "gh-pages branch contents after deployment:"
82+
# ls -la

0 commit comments

Comments
 (0)