Skip to content
play

GitHub Action

Continuous Delivery and Continuous Deployment Package Convention

1.0.0 Latest version

Continuous Delivery and Continuous Deployment Package Convention

play

Continuous Delivery and Continuous Deployment Package Convention

Trip Teknologi's Continuous Delivery and Continuous Deployment Package Convention

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Continuous Delivery and Continuous Deployment Package Convention

uses: tripteki/[email protected]

Learn more about this action in tripteki/cd-package

Choose a version

Convention

Trip Teknologi's Continuous Delivery and Continuous Deployment Package Convention.

Getting Started

How to use :

  • You need to create a workflow in .github/workflows/.

    Sample file :

    name: Continuous Delivery and Continuous Deployment Package
    
    on: push
    
    jobs:
        cd:
            runs-on: ubuntu-latest
            steps:
                - name: cd
                  uses: tripteki/[email protected]
                  with:
                    token: ${{ secrets.GITHUB_TOKEN }}
                    repotoken: <repository_token>
                    repouser: <repository_user>
                    repository: <repository_url>
                    language: <language_use>
                    artifact: <artifact>.<extension>
    
  • language section value possibilities :
    php, js, py.

  • repository section value possibilities :
    https://packagist.org, https://registry.npmjs.org, https://upload.pypi.org/legacy/, etc.

  • artifact section value possibilities :
    composer.json, package.json, pyproject.toml, etc.

Author