{"id":22824391,"url":"https://github.com/opt-nc/tower-deploy-action","last_synced_at":"2026-04-02T11:03:25.415Z","repository":{"id":42997670,"uuid":"437727962","full_name":"opt-nc/tower-deploy-action","owner":"opt-nc","description":"Github action pour le deploiement d'application via Tower","archived":false,"fork":false,"pushed_at":"2023-09-12T09:35:12.000Z","size":803,"stargazers_count":4,"open_issues_count":8,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-09-19T10:13:17.825Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opt-nc.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}},"created_at":"2021-12-13T03:47:02.000Z","updated_at":"2024-08-27T05:42:06.179Z","dependencies_parsed_at":"2023-12-27T00:44:07.845Z","dependency_job_id":null,"html_url":"https://github.com/opt-nc/tower-deploy-action","commit_stats":{"total_commits":74,"total_committers":7,"mean_commits":"10.571428571428571","dds":0.5945945945945945,"last_synced_commit":"ce9c6ff32def74592433a3817df5e89fdacfd1cf"},"previous_names":[],"tags_count":15,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opt-nc%2Ftower-deploy-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opt-nc%2Ftower-deploy-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opt-nc%2Ftower-deploy-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opt-nc%2Ftower-deploy-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opt-nc","download_url":"https://codeload.github.com/opt-nc/tower-deploy-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250394463,"owners_count":21423360,"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-12T17:06:31.802Z","updated_at":"2026-04-02T11:03:25.409Z","avatar_url":"https://github.com/opt-nc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![DEV.to](https://img.shields.io/badge/DEV.to%20posts-Speeding%20Up%20Time%20to%20Market%20with%20Custom%20Github%20Actions-blue)](https://dev.to/adriens/speeding-up-time-to-market-with-custom-github-actions-3md0)\n[![Test, Release](https://github.com/opt-nc/tower-deploy-action/actions/workflows/test-release.yml/badge.svg)](https://github.com/opt-nc/tower-deploy-action/actions/workflows/test-release.yml)\n\n# tower-deploy-action\n\nThis Github action aims to interact with Tower servers.\n\nIt connects to a Tower server and launches a job based on a template id, if needed an extra_vars file can be send.\n\n## Usage\n\nSee [action.yml](action.yml)\n\nIf you need extra_vars data, you have to first checkout the repository you aim to deploy and that contains the extra_vars yaml file template. \nThe templated yaml file have to be put in the *src/main/resource* folder. \nDefault filename is *tower_extra_vars_template.yml*, if you want to use another filename, please use *extravars_template_filename* input.\n\n### Deploy an application from main branch\n\n```yaml\n  integration-deploy:\n    name: Call deploy action\n    runs-on: ubuntu-latest\n    environment: integration\n    steps:\n      - name: Checkout my repo\n        uses: actions/checkout@v2\n      - name: Invoke deploy action\n        uses: opt-nc/tower-deploy-action@v1.3.13\n        with:\n          vars: ${{ tojson(secrets) }}\n          asset_url:  https://github.com/my_org/my_repo/releases/download/integration/my_app.jar\n          tower_template_id : 45\n          tower_url: ${{ secrets.TOWER_URL }}\n          tower_password: ${{ secrets.TOWER_PASSWORD }}\n          tower_user: ${{ secrets.TOWER_USER }}\n```\n\n### Deploy an application from tag\n\n```yaml\n  qualification-deploy:\n    name: Call deploy action\n    runs-on: ubuntu-latest\n    environment: qualification\n    steps:\n      - name: Checkout my repo\n        uses: actions/checkout@v2\n        with:\n          ref: v1.0.0\n      - name: Invoke deploy action\n        uses: opt-nc/tower-deploy-action@v1.3.13\n        with:\n          vars: ${{ tojson(secrets) }}\n          asset_url:  https://github.com/my_org/my_repo/releases/download/1.0.0/my_app.jar\n          tower_template_id : 46\n          tower_url: ${{ secrets.TOWER_URL }}\n          tower_password: ${{ secrets.TOWER_PASSWORD }}\n          tower_user: ${{ secrets.TOWER_USER }}\n```\n\nVersion de déploiement Docker : \n\n\n```yaml\n  qualification-deploy:\n    name: Call deploy action\n    runs-on: ubuntu-latest\n    environment: qualification\n    steps:\n      - name: Checkout my repo\n        uses: actions/checkout@v2\n        with:\n          ref: v1.0.0\n      - name: Invoke deploy action\n        uses: opt-nc/tower-deploy-action@v1.3.13\n        with:\n          vars: ${{ tojson(secrets) }}\n          iamge_url: ghcr.io/${{ github.repository }}:${{ github.event.release.tag_name }}\n          tower_template_id : 46\n          tower_url: ${{ secrets.TOWER_URL }}\n          tower_password: ${{ secrets.TOWER_PASSWORD }}\n          tower_user: ${{ secrets.TOWER_USER }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopt-nc%2Ftower-deploy-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopt-nc%2Ftower-deploy-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopt-nc%2Ftower-deploy-action/lists"}