diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..1cd1777 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,22 @@ +name: deploy +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1.1.0 + - uses: subosito/flutter-action@v1.1.1 + with: + channel: dev + - run: | + flutter config --enable-web + flutter pub get + flutter build web + - uses: peaceiris/actions-gh-pages@v3 + with: + personal_token: ${{ secrets.PERSONAL_TOKEN }} + publish_dir: ./build/web/ + external_repository: git-touch/git-touch.github.io diff --git a/web/favicon.png b/web/favicon.png new file mode 100644 index 0000000..8aaa46a Binary files /dev/null and b/web/favicon.png differ diff --git a/web/icons/Icon-192.png b/web/icons/Icon-192.png new file mode 100644 index 0000000..b749bfe Binary files /dev/null and b/web/icons/Icon-192.png differ diff --git a/web/icons/Icon-512.png b/web/icons/Icon-512.png new file mode 100644 index 0000000..88cfd48 Binary files /dev/null and b/web/icons/Icon-512.png differ diff --git a/web/index.html b/web/index.html index a1d12bb..bf7f133 100644 --- a/web/index.html +++ b/web/index.html @@ -1,10 +1,45 @@ - - - GitTouch - - - - + + + + + + + + + + + + + + + + + + GitTouch + + + + + + + diff --git a/web/manifest.json b/web/manifest.json new file mode 100644 index 0000000..daabff3 --- /dev/null +++ b/web/manifest.json @@ -0,0 +1,23 @@ +{ + "name": "GitTouch", + "short_name": "GitTouch", + "start_url": ".", + "display": "standalone", + "background_color": "#0175C2", + "theme_color": "#0175C2", + "description": "A new Flutter project.", + "orientation": "portrait-primary", + "prefer_related_applications": false, + "icons": [ + { + "src": "icons/Icon-192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "icons/Icon-512.png", + "sizes": "512x512", + "type": "image/png" + } + ] +}