{"id":23462006,"url":"https://github.com/cslant/home-runner","last_synced_at":"2025-04-12T06:58:39.509Z","repository":{"id":261286709,"uuid":"880904636","full_name":"cslant/home-runner","owner":"cslant","description":"This repo is to setup the runner for updating the homepage at https://cslant.com","archived":false,"fork":false,"pushed_at":"2025-01-28T04:39:40.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-12T06:58:36.420Z","etag":null,"topics":["cslant","cslant-cicd","cslant-github","cslant-runner","deploy","homepage","runner"],"latest_commit_sha":null,"homepage":"https://cslant.com","language":"Shell","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/cslant.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":"2024-10-30T15:17:22.000Z","updated_at":"2025-01-28T04:39:36.000Z","dependencies_parsed_at":"2024-12-15T10:22:28.689Z","dependency_job_id":"d28adc15-94dc-42c6-9140-abc2627d712d","html_url":"https://github.com/cslant/home-runner","commit_stats":null,"previous_names":["cslant/home-runner"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fhome-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fhome-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fhome-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cslant%2Fhome-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cslant","download_url":"https://codeload.github.com/cslant/home-runner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530578,"owners_count":21119595,"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":["cslant","cslant-cicd","cslant-github","cslant-runner","deploy","homepage","runner"],"created_at":"2024-12-24T08:15:26.682Z","updated_at":"2025-04-12T06:58:39.483Z","avatar_url":"https://github.com/cslant.png","language":"Shell","readme":"# CSlant Home Runner\n\n```text\n██╗  ██╗ ██████╗ ███╗   ███╗███████╗    ██████╗ ██╗   ██╗███╗   ██╗███╗   ██╗███████╗██████╗ \n██║  ██║██╔═══██╗████╗ ████║██╔════╝    ██╔══██╗██║   ██║████╗  ██║████╗  ██║██╔════╝██╔══██╗\n███████║██║   ██║██╔████╔██║█████╗      ██████╔╝██║   ██║██╔██╗ ██║██╔██╗ ██║█████╗  ██████╔╝\n██╔══██║██║   ██║██║╚██╔╝██║██╔══╝      ██╔══██╗██║   ██║██║╚██╗██║██║╚██╗██║██╔══╝  ██╔══██╗\n██║  ██║╚██████╔╝██║ ╚═╝ ██║███████╗    ██║  ██║╚██████╔╝██║ ╚████║██║ ╚████║███████╗██║  ██║\n╚═╝  ╚═╝ ╚═════╝ ╚═╝     ╚═╝╚══════╝    ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═══╝╚═╝  ╚═══╝╚══════╝╚═╝  ╚═╝\n```\n\nThis repo is to set up the runner for updating the homepage at https://cslant.com\n\nWe can use this runner to update the Home automatically with CI/CD pipelines.\n\n## Installation\n\nFirst, copy the `.env.example` file to `.env` and update the values.\n\n```bash\nenvsubst \u003c .env.example \u003e .env\n```\n\nIf you don't have `envsubst` command, you can use the following command:\n\n```bash\ncp .env.example .env\n```\n\nIn the `.env` file, update the values to match your environment.\n\n```bash\n# .env\n\n#SOURCE_DIR=~/source\nSOURCE_DIR=/home/user/cslant.com/home\n\nGIT_SSH_URL=git@github.com:cslant\n\n# The name of the runner\nWORKER_NAME=\"CSlant Home\"\n\n# add the env to choose \"npm\" or \"yarn\" as the installer\nINSTALLER=yarn\n\n# App Config\n# E.g: prod, dev\nENV=prod\n\nNODE_VERSION=22\n\nUSE_SUBMODULES=false\n```\n\n\u003e [!IMPORTANT]\n\u003e ## Command can't be used if wrong values are set in the `.env` file.\n\u003e * If the `SOURCE_DIR` is wrong, the runner will not be able to find the source code. So, please make sure the `SOURCE_DIR` is correct.\n\nThen, you can just run the following command to start the runner.\n\n```bash\n./runner.sh a\n```\n\n## Usage\n\nThe runner has the following commands:\n\n| Command          | Description                  |\n|------------------|------------------------------|\n| `help`, `tips`   | Shows the help message       |\n| `build`, `b`     | Builds the Home              |\n| `worker`, `w`    | Create or restart the worker |\n| `all`, `a`       | Runs all the commands        |\n| `resources`, `r` | Sync the home resources      |\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcslant%2Fhome-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcslant%2Fhome-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcslant%2Fhome-runner/lists"}