{"id":22509727,"url":"https://github.com/getshifter/actions","last_synced_at":"2025-03-28T00:24:39.120Z","repository":{"id":101048586,"uuid":"229734496","full_name":"getshifter/actions","owner":"getshifter","description":"Github Actions","archived":false,"fork":false,"pushed_at":"2020-06-04T05:21:36.000Z","size":44,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-02T02:22:39.999Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.getshifter.io","language":"Python","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/getshifter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-12-23T10:59:40.000Z","updated_at":"2021-11-16T17:28:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"37a46aa9-443c-4a7d-9456-9d2bc28059b1","html_url":"https://github.com/getshifter/actions","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getshifter%2Factions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getshifter%2Factions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getshifter%2Factions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getshifter%2Factions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getshifter","download_url":"https://codeload.github.com/getshifter/actions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245945734,"owners_count":20698300,"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-12-07T01:30:27.084Z","updated_at":"2025-03-28T00:24:39.086Z","avatar_url":"https://github.com/getshifter.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shifter Github Actions\n\n[![getshifter/actions-base](http://dockeri.co/image/getshifter/actions-base)](https://hub.docker.com/r/getshifter/actions-base/)\n\n- [getshifter/actions-start](https://github.com/marketplace/actions/start-shifter-wordpress)\n- [getshifter/actions-stop](https://github.com/marketplace/actions/stop-shifter-wordpress)\n\n## Start Shifter WordPress action\n\nStart Shifter's WordPress and store WordPress URL in the outputs `shifter_app_url`.\nIf WordPress is already running, get the URL.\n\n### Requirements environment variable\n\n- `SHIFTER_USER`: Login username for Shfter\n- `SHIFTER_PASS`: Password\n- `SHIFTER_SITE_ID`: Site ID to launch WordPress\n\n### Inputs\n\nNone\n\n### Outputs\n\n- `shifter_app_url`: WordPress Live URL.\n\n### set environment variable for other jobs\n\n- `SHIFTER_APP_KEEP`: Used to skip stop if WordPress is already running at the time of job execution. default The default value is `false`(string).\n\n## Stop Shifter WordPress action\n\nStop WordPress of Shifter.\n\n### Requirements environment variable\n\n- `SHIFTER_USER`: Login username for Shfter\n- `SHIFTER_PASS`: Password\n- `SHIFTER_SITE_ID`: Site ID to Stop WordPress\n\n### Inputs / Outputs\n\nNone\n\n## Example usage\n\n```\n    steps:\n    - uses: actions/checkout@v1\n    - name: Start WordPress\n      id: start\n      uses: getshifter/actions-start@v2\n      env:\n        SHIFTER_USER: ${{ secrets.SHIFTER_USER }}\n        SHIFTER_PASS: ${{ secrets.SHIFTER_PASS }}\n        SHIFTER_SITE_ID: ${{ secrets.SHIFTER_SITE_ID }}\n    - name: Show WordPress URL\n      env:\n        SHIFTER_APP_URL: ${{ steps.start.outputs.shifter_app_url }}\n      run:\n        echo ${SHIFTER_APP_URL}\n    - name: Stop WordPress\n      uses: getshifter/actions-stop@v2\n      env:\n        SHIFTER_USER: ${{ secrets.SHIFTER_USER }}\n        SHIFTER_PASS: ${{ secrets.SHIFTER_PASS }}\n        SHIFTER_SITE_ID: ${{ secrets.SHIFTER_SITE_ID }}\n```\n\n- (optional)`SHIFTER_APP_KEEP`: Use when do not want to stop the container.\n  - It is set automatically if the container has already been started when executing `actions/start`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetshifter%2Factions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetshifter%2Factions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetshifter%2Factions/lists"}