-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Sylvester-git/HabitKit
- Loading branch information
Showing
2 changed files
with
41 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: Deploy Flutter Web to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install dependencies | ||
run: sudo apt-get update && sudo apt-get install -y curl unzip xz-utils libglu1-mesa | ||
|
||
- name: Set up Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: '3.24.3' | ||
|
||
- name: Install Flutter dependencies | ||
run: flutter pub get | ||
|
||
- name: Build Flutter web | ||
run: flutter build web | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITACTIONS_TOKEN }} | ||
publish_dir: build/web |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,13 @@ | ||
# habitkit | ||
# Habitkit | ||
|
||
A new Flutter project. | ||
HabitKit is a habit tracker application. The purpose of this application is to show that it is possible to convert your mobile applications into web presentations. | ||
|
||
## Getting Started | ||
|
||
This project is a starting point for a Flutter application. | ||
![Screenshot_20241224-224824](https://github.com/user-attachments/assets/b7c85395-2a39-40e4-acfe-60dd73c00b0d) | ||
|
||
A few resources to get you started if this is your first Flutter project: | ||
![Screenshot_20241224-223353](https://github.com/user-attachments/assets/05ff14b9-3c6a-4946-ba33-aeaafeb5b372) | ||
|
||
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) | ||
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) | ||
![Screenshot_20241224-223501](https://github.com/user-attachments/assets/98b8fc1b-30b0-4fb7-a9c0-884779ab6263) | ||
|
||
![Screenshot_20241224-223517](https://github.com/user-attachments/assets/292afbdb-a50f-478c-ad4f-2cca16e7a21d) | ||
|
||
For help getting started with Flutter development, view the | ||
[online documentation](https://docs.flutter.dev/), which offers tutorials, | ||
samples, guidance on mobile development, and a full API reference. |