{"id":25144414,"url":"https://github.com/openmf/kmp-web-publish-action","last_synced_at":"2025-04-03T06:14:00.677Z","repository":{"id":268023339,"uuid":"903041119","full_name":"openMF/kmp-web-publish-action","owner":"openMF","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-24T06:42:54.000Z","size":9,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-27T17:00:17.089Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openMF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-12-13T20:00:01.000Z","updated_at":"2025-01-28T18:35:48.000Z","dependencies_parsed_at":"2024-12-13T21:38:39.904Z","dependency_job_id":null,"html_url":"https://github.com/openMF/kmp-web-publish-action","commit_stats":null,"previous_names":["openmf/kmp-web-publish-action"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openMF%2Fkmp-web-publish-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openMF%2Fkmp-web-publish-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openMF%2Fkmp-web-publish-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openMF%2Fkmp-web-publish-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openMF","download_url":"https://codeload.github.com/openMF/kmp-web-publish-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246944386,"owners_count":20858772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-02-08T19:46:15.277Z","updated_at":"2025-04-03T06:14:00.658Z","avatar_url":"https://github.com/openMF.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Publish KMP Web App to GitHub Pages Action\n\n## Overview\nThis GitHub Action allows you to easily publish a Kotlin Multiplatform (KMP) Web Application to GitHub Pages with minimal configuration.\n\n## Features\n- Builds Kotlin/JS web application\n- Configures GitHub Pages\n- Uploads static files\n- Deploys to GitHub Pages\n- Provides deployment URL as output\n\n## Prerequisites\n- Kotlin Multiplatform Project\n- Gradle build system\n- GitHub Pages enabled in repository settings\n\n## Usage\n\n```yaml\n  - name: Publish KMP Web App To GitHub Pages\n    uses: openMF/KMP-web-publish-action@v1.0.0\n```\n\n### Detailed Configuration\n```yaml\nname: Deploy Web App\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    permissions:\n      pages: write\n      id-token: write\n\n    steps:\n      - uses: actions/checkout@v4\n      \n      - name: Publish Web App\n        uses: openMF/KMP-web-publish-action@v1.0.0\n        with:\n          web_package_name: 'your-web-module-name'\n```\n\n## Inputs\n\n### `web_package_name`\n- **Description**: Name of the web package/module in your Kotlin Multiplatform project\n- **Required**: `true`\n- **Type**: `string`\n- **Example**: `'web'`, `'webApp'`\n\n## Outputs\n\n### `page_url`\n- **Description**: URL of the deployed GitHub Pages site\n- **Type**: `string`\n- **Example**: `https://yourusername.github.io/repository-name/`\n\n## Permissions Required\n```yaml\npermissions:\n  pages: write      # Allows deployment to GitHub Pages\n  id-token: write   # Enables secure token-based deployment\n```\n\n## Troubleshooting\n- Ensure your Gradle build generates JS distribution in the expected path\n- Verify GitHub Pages is enabled in repository settings\n- Check Gradle build script for correct JS distribution task\n\n## Notes\n- Action uses `jsBrowserDistribution` Gradle task\n- Uploads files from `build/dist/js/productionExecutable/`\n- Supports single Kotlin Multiplatform Web module\n\n## Contributing\nContributions and improvements are welcome! Please open an issue or submit a pull request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmf%2Fkmp-web-publish-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmf%2Fkmp-web-publish-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmf%2Fkmp-web-publish-action/lists"}