{"id":21480936,"url":"https://github.com/zugriffcloud/action-deploy","last_synced_at":"2025-03-17T09:12:49.659Z","repository":{"id":239500474,"uuid":"781140535","full_name":"zugriffcloud/action-deploy","owner":"zugriffcloud","description":"Deploy your application with zugriff","archived":false,"fork":false,"pushed_at":"2025-03-10T10:24:13.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"latest","last_synced_at":"2025-03-10T11:29:51.857Z","etag":null,"topics":["actions","deploy","zugriff"],"latest_commit_sha":null,"homepage":"https://zugriff.eu","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"eupl-1.2","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zugriffcloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-EUPL","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-04-02T20:29:35.000Z","updated_at":"2025-03-10T10:24:16.000Z","dependencies_parsed_at":"2024-05-12T23:25:48.367Z","dependency_job_id":"c3bfa7b5-e48f-4653-887c-f18b24685333","html_url":"https://github.com/zugriffcloud/action-deploy","commit_stats":null,"previous_names":["zugriffcloud/action-deploy"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zugriffcloud%2Faction-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zugriffcloud%2Faction-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zugriffcloud%2Faction-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zugriffcloud%2Faction-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zugriffcloud","download_url":"https://codeload.github.com/zugriffcloud/action-deploy/tar.gz/refs/heads/latest","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244006398,"owners_count":20382443,"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":["actions","deploy","zugriff"],"created_at":"2024-11-23T12:19:22.703Z","updated_at":"2025-03-17T09:12:49.638Z","avatar_url":"https://github.com/zugriffcloud.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deploy with zugriff\n\n## Example\n\n\u003e [!IMPORTANT]\n\u003e This example assumes you deploy an application built with a zugriff adapter.\n\n```yml\n# .github/workflows/zugriff.yml\n\nname: zugriff\n\non:\n  push:\n    branches:\n      - main\n\njobs:\n  deploy:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v4\n\n      - uses: actions/setup-node@v4\n        with:\n          node-version: 20\n\n      - run: npm ci\n      - run: npm run build\n\n      - uses: zugriffcloud/action-deploy@latest\n        with:\n          deploymentToken: ${{ secrets.ZUGRIFF_TOKEN }}\n```\n\n## Inputs\n\n| Argument                         | Description                                                | Required | Example                |\n| :------------------------------- | :--------------------------------------------------------- | :------- | :--------------------- |\n| `deploymentToken`                | Token to deploy and manage applications                    | Yes      | `\u003cSECRET\u003e`             |\n| `cwd`                            | Current working directory                                  | No       | `./my-app/`            |\n| `function`                       | Function entry file                                        | No       | `./src/server.js`      |\n| `assets`                         | Newline-separated locations of static asset(-s) to include | No       | `./public/favicon.ico` |\n| `promotions`                     | Newline-separated domain accociated labels                 | No       | `production`           |\n| `name`                           | Deployment name                                            | No       | `\u003cCOMMIT-HASH\u003e`        |\n| `description`                    | Deployment description                                     | No       | `\u003cCOMMIT-MESSAGE\u003e`     |\n| `dryRun`                         | Deployment is created but not uploaded                     | No       | -                      |\n| `disableStaticRouter`            | Disables the auto-router for static-only deployments       | No       | -                      |\n| `enableStaticRouter`             | Enables the auto-router for deployments with functions     | No       | -                      |\n| `preferFileRouter`               | Prefer file based routing                                  | No       | -                      |\n| `preferPuppets`                  | Prefer puppets over redirects                              | No       | -                      |\n| `disableFunctionDiscovery`       | Disable function discovery                                 | No       | -                      |\n| `redirects`                      | Newline-separated Redirect Middleware                      | No       | `/:308:/index.html`    |\n| `puppets`                        | Newline-separated Asset Alias Middleware                   | No       | `/:/index.html`        |\n| `interceptors`                   | Newline-separated interceptors                             | No       | `404:/404.html`        |\n| `pack`                           | Re-pack a Next.js or custom application before deploying   | No       | -                      |\n| `environmentDeploymentApi`       | Self-hosted: API endpoint                                  | No       | `https://\u003cDOMAIN\u003e`     |\n| `environmentGeneralPurposeApi`   | Self-hosted: API endpoint                                  | No       | `https://\u003cDOMAIN\u003e`     |\n| `environmentWsGeneralPurposeApi` | Self-hosted: API endpoint                                  | No       | `wss://\u003cDOMAIN\u003e`       |\n\n### Newline-separated arguments\n\nNewline-separated arguments are array-like values. Please see the following example.\n\n```yml\n- uses: zugriffcloud/action-deploy@latest\n  with:\n    assets: |\n      ./example.jpg\n      ./index.html\n```\n\nThe example will add `-y --asset ./example.jpg --asset ./index.html` to the deploy command.\n\n## Outputs\n\n| Identifier | Description                                                 | Example                                   |\n| :--------- | :---------------------------------------------------------- | :---------------------------------------- |\n| domains    | Comma-separated list of domains connected to the deployment | `my-app-123456789.zugriff.app,zugriff.eu` |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzugriffcloud%2Faction-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzugriffcloud%2Faction-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzugriffcloud%2Faction-deploy/lists"}