Skip to content

Add GitHub Actions workflow for automated Flutter web deployment to GitHub Pages#3

Merged
evaisse merged 5 commits into
masterfrom
copilot/implement-github-workflow-publish
Nov 12, 2025
Merged

Add GitHub Actions workflow for automated Flutter web deployment to GitHub Pages#3
evaisse merged 5 commits into
masterfrom
copilot/implement-github-workflow-publish

Conversation

Copilot AI commented Oct 20, 2025

Copy link
Copy Markdown
Contributor
  • Create .github/workflows directory structure
  • Create GitHub workflow file for Flutter web build and GitHub Pages deployment
  • Configure workflow to:
    • Set up Flutter SDK
    • Build Flutter web application with correct base-href
    • Deploy to GitHub Pages using GitHub Actions
  • Update workflow to build only the example app (not the root plugin)
  • Properly merge with master branch and resolve all conflicts
  • Remove redundant deploy-github-pages.yml (master already has deploy-demo.yml)
  • Update deploy-demo.yml to trigger on both main and master branches for consistency
  • Create proper merge commit with two parents to resolve GitHub conflict
  • All CI checks should pass
Original prompt

This section details on the original issue you should resolve

<issue_title>Implement github workflow to publish the flutterish_pdf_viewer on github pages</issue_title>
<issue_description>Implement github workflow to publish the flutterish_pdf_viewer on github pages as flutter web build</issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #2


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: evaisse <28737+evaisse@users.noreply.github.com>
Copilot AI changed the title [WIP] Implement GitHub workflow to publish flutterish_pdf_viewer Add GitHub Actions workflow for automated Flutter web deployment to GitHub Pages Oct 20, 2025
Copilot AI requested a review from evaisse October 20, 2025 18:39

@evaisse evaisse left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please review the changes on master and ensure to publish on github page only the example app.

@evaisse

evaisse commented Oct 20, 2025

Copy link
Copy Markdown
Owner

@copilot Can you apply the requested changes ?

Co-authored-by: evaisse <28737+evaisse@users.noreply.github.com>

Copilot AI commented Oct 20, 2025

Copy link
Copy Markdown
Contributor Author

@copilot Can you apply the requested changes ?

Updated the workflow to build and deploy only the example app from the example/ directory. The changes include:

  • Running flutter pub get in the example directory
  • Building the Flutter web app from the example directory
  • Uploading the build output from example/build/web

Commit: 91b5b5b

Copilot AI requested a review from evaisse October 20, 2025 18:47
@evaisse

evaisse commented Nov 12, 2025

Copy link
Copy Markdown
Owner

@copilot please pull master & resolve conflicts, also ensure to pass all the CI checks

Co-authored-by: evaisse <28737+evaisse@users.noreply.github.com>

Copilot AI commented Nov 12, 2025

Copy link
Copy Markdown
Contributor Author

@copilot please pull master & resolve conflicts, also ensure to pass all the CI checks

Merged master branch and resolved all conflicts. Changes include:

  • Removed redundant deploy-github-pages.yml (master already has deploy-demo.yml)
  • Updated deploy-demo.yml to trigger on both main and master branches
  • Resolved README conflict using master's comprehensive version
  • All project files from master now included

The CI workflow will run automatically on the PR to validate all checks pass.

Commit: 8bcc14f

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/evaisse/flutterish_pdf_viewer/commits/8bcc14f239c9f959c053e66d4497d4b9c104da57/check-runs
    • Triggering command: curl -s REDACTED (http block)
  • https://storage.googleapis.com/flutter_infra_release/flutter/035316565ad77281a75305515e4682e6c4c6f7ca/dart-sdk-linux-x64.zip
    • Triggering command: curl --retry 3 --continue-at - --location --output /tmp/flutter/bin/cache/dart-sdk-linux-x64.zip REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI requested a review from evaisse November 12, 2025 14:01
@evaisse

evaisse commented Nov 12, 2025

Copy link
Copy Markdown
Owner

@copilot their is still conflicts on the file : .github/workflows/deploy-demo.yml

can you pull master & fix this ?

Copilot AI commented Nov 12, 2025

Copy link
Copy Markdown
Contributor Author

@copilot their is still conflicts on the file : .github/workflows/deploy-demo.yml

can you pull master & fix this ?

Pulled latest master and resolved the conflict in .github/workflows/deploy-demo.yml. Created a proper merge commit that keeps both main and master in the branch triggers while incorporating all changes from master.

Commit: cfee547

@evaisse evaisse marked this pull request as ready for review November 12, 2025 19:53
@evaisse evaisse merged commit 9e39606 into master Nov 12, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement github workflow to publish the flutterish_pdf_viewer on github pages

2 participants