Skip to content

Commit

Permalink
Build Github Action && Removing NodeJS File
Browse files Browse the repository at this point in the history
  • Loading branch information
rafay99-epic committed Feb 21, 2024
1 parent ebfb5e1 commit ea672ce
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 916 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/flutter_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,21 @@ jobs:
# - name: Install Hugo CLI
# run: sudo apt-get install hugo # installing Hugo

- name: Flutter setup
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: '3.16' # The version of Flutter you want to use
channel: stable

- name: Installing nodeJs
run: sudo apt-get install nodejs npm # installing nodejs
# - name: Installing nodeJs
# run: sudo apt-get install nodejs npm # installing nodejs

- name: Flutter Install Project Dependencies
run: flutter pub get

- name: Build Flutter web Project # building website
run: flutter build web --web-renderer html --release
run: flutter build web --web-renderer canvaskit --release

- name: Push # pushes the website to build branch
- name: Flutter Web Push Code
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
Expand Down
Loading

0 comments on commit ea672ce

Please sign in to comment.