Skip to content

tripteki/cd-package

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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