{"id":19437905,"url":"https://github.com/architect/action-deploy","last_synced_at":"2025-02-25T07:15:53.532Z","repository":{"id":87188270,"uuid":"481698051","full_name":"architect/action-deploy","owner":"architect","description":null,"archived":false,"fork":false,"pushed_at":"2024-07-10T21:06:30.000Z","size":14,"stargazers_count":2,"open_issues_count":2,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-07T21:25:28.387Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/architect.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}},"created_at":"2022-04-14T17:49:21.000Z","updated_at":"2024-09-29T23:41:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"b87b85b6-dfc6-4ea9-a416-5919a0c5a894","html_url":"https://github.com/architect/action-deploy","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/architect%2Faction-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/architect%2Faction-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/architect%2Faction-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/architect%2Faction-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/architect","download_url":"https://codeload.github.com/architect/action-deploy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240619444,"owners_count":19830206,"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":"2024-11-10T15:16:13.206Z","updated_at":"2025-02-25T07:15:53.455Z","avatar_url":"https://github.com/architect.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Architect Deploy Action\n\n![Architect logo](https://github.com/architect/assets.arc.codes/raw/main/public/architect-logo-light-500b%402x.png#gh-dark-mode-only)\n![Architect logo](https://github.com/architect/assets.arc.codes/raw/main/public/architect-logo-500b%402x.png#gh-light-mode-only)\n\nThis is a GitHub Action that builds an architect application and deploys it to AWS.\n\n## How does it work?\n\nWhen called the action will:\n- checkout the project\n- set up node.js v14\n- installs dependencies (works with npm, pnpm and yarn)\n- runs `npm run vendor` if present\n- Deploys to `staging` if the commit is to the `main` branch.\n- Deploys to `production` if the git tag starts with `v`.\n\n## Usage\n\nTypically, you will want to add this action as the first step in a workflow. Then if the tests pass you can send a message to Discord or Slack.\n\nFor example:\n\n```yaml\njobs:\n  # Assuming all that went fine (and it's main): deploy!\n  deploy:\n    # Setup\n    needs: build # See: https://github.com/architect/action-build/\n    if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')\n    runs-on: ubuntu-latest\n\n    # Go\n    steps:\n      - name: Deploy app\n        uses: architect/action-deploy@v1\n        with:\n          aws_access_key_id: ${{secrets.AWS_ACCESS_KEY_ID}}\n          aws_secret_access_key: ${{secrets.AWS_SECRET_ACCESS_KEY}}\n```\n\n## Options\n\nThis action has a few options you can configure:\n\n| Key | Required | Value | Default | Description |\n| - | - | - | - | - |\n| aws_access_key_id | Yes | String |  | Credentials from [AWS Console](https://console.aws.amazon.com/) |\n| aws_secret_access_key | Yes | String |  | Credentials from [AWS Console](https://console.aws.amazon.com/) |\n| use_lock_file | No | Boolean | true | By default, this action will use a lock file like package-lock.json, npm-shrinkwrap.json or yarn.lock. You can set `useLockFile: false` to use just package.json |\n| node-version | No | Number | 14 | The node-version input is optional. If not supplied, the node version defaults to 14.  |\n\n## Contributing\n\n[Find out more about contributing to Architect](https://arc.codes/docs/en/about/contribute)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchitect%2Faction-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farchitect%2Faction-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farchitect%2Faction-deploy/lists"}