{"id":27488339,"url":"https://github.com/himanshusharma89/dev","last_synced_at":"2026-05-04T22:31:24.362Z","repository":{"id":117029780,"uuid":"294635561","full_name":"himanshusharma89/dev","owner":"himanshusharma89","description":"Using GitHub Actions use GitHub Pages to host your Flutter Web app. And much more.","archived":false,"fork":false,"pushed_at":"2020-09-14T18:24:26.000Z","size":1323,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-02T00:38:04.219Z","etag":null,"topics":["cd","ci","dev","flutter","flutter-web","github-actions","github-pages"],"latest_commit_sha":null,"homepage":"https://himanshusharma.tech/dev","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/himanshusharma89.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-09-11T08:15:57.000Z","updated_at":"2021-01-06T19:42:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"1a629e97-103d-4695-8e19-588d55651384","html_url":"https://github.com/himanshusharma89/dev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/himanshusharma89/dev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshusharma89%2Fdev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshusharma89%2Fdev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshusharma89%2Fdev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshusharma89%2Fdev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/himanshusharma89","download_url":"https://codeload.github.com/himanshusharma89/dev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himanshusharma89%2Fdev/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32628185,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cd","ci","dev","flutter","flutter-web","github-actions","github-pages"],"created_at":"2025-04-16T19:56:32.283Z","updated_at":"2026-05-04T22:31:24.342Z","avatar_url":"https://github.com/himanshusharma89.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dev\n\nA new Flutter project for the **GitHub Actions x DEV Hackathon!**\n\n[GitHub Action for Flutter Web](https://dev.to/rageremix/github-actions-for-flutter-web-4pcj)\n\nThis GitHub Action \"**Flutter Web CI**\" is designed to automate the developers work to: \n* Configure the flutter tool for web support\n* Build an app with web support\n* Archive the build and upload the Artifact\n* Download the Artifact\n* Display structure of build files\n* Use GitHub Pages to host your Flutter Web app\n\n## Usage\n\n```yaml\nname: Flutter Web CI\n\non:\n  push:\n    branches: [ master ]\n  pull_request:\n    branches: [ master ]\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    env:\n      my_secret: ${{secrets.GH_DEPLOY}}\n    steps:\n    - uses: actions/checkout@v1\n    - uses: subosito/flutter-action@v1\n      with:\n        channel: beta\n    - run: flutter config --enable-web\n    - run: flutter pub get\n#     - run: flutter test\n    - run: flutter build web\n    - name: Archive Production Artifact\n      uses: actions/upload-artifact@master\n      with:\n        name: web-build\n        path: build/web\n    - name: Download Artifact\n      uses: actions/download-artifact@master\n      with:\n        name: web-build \n    - name: Display structure of build files\n      run: ls -R\n      working-directory: ./web\n    - name: Deploy to GH Pages\n      run: |\n        cd build/web\n        git init\n        # type configurations: your user.email and user.name followed lines \n        # git config --global user.email your_email \n        # git config --global user.name your_name \n        git config --global user.email ranubhardwaj89@gmail.com\n        git config --global user.name himanshusharma89\n        git status\n        # change this remote url for examle your remote url is https://github.com/onatcipli/flutter_web.git then the following:\n        git remote add origin https://${{secrets.GH_DEPLOY}}@github.com/himanshusharma89/dev.git\n        git checkout -b gh-pages\n        git add --all\n        git commit -m \"update\"\n        git push origin gh-pages -f\n\n```\n\n### Additional Resources / Info\n\nThis GitHub Action uses the following open-source GitHub Actions:\n\n[subosito/flutter-action](https://github.com/subosito/flutter-action)\n\n[actions/upload-artifact](https://github.com/actions/upload-artifact)\n\n[actions/download-artifact](https://github.com/actions/download-artifact)\n\n[Flutter Web — Github Actions-Github Pages](https://medium.com/flutter-community/flutter-web-github-actions-github-pages-dec8f308542a)\n\n\nA few resources to get you started with Flutter project:\n\n- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)\n- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)\n\n\n##### Made with \u003cspan style=\"color: #e25555;\"\u003e\u0026#9829;\u003c/span\u003e by \u003ca href=\"https://www.linkedin.com/in/himanshusharma89/\"\u003eHimanshu Sharma\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanshusharma89%2Fdev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimanshusharma89%2Fdev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimanshusharma89%2Fdev/lists"}