Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvester-git committed Dec 27, 2024
2 parents 54979c9 + 326609c commit a07a732
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 10 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy.yml
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
17 changes: 7 additions & 10 deletions README.md
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.

0 comments on commit a07a732

Please sign in to comment.