Skip to content

mittwald/rp-container-deploy-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

rp-container-deploy-action

GitHub composite action to build and deploy arbitrary repositories as containers into a given Mittwald project. Uses railpack under the hood to infer image build steps.

Usage

- name: Deploy to Mittwald Container Hosting
  uses: mittwald/rp-container-deploy-action@master
  with:
    mittwald-api-token: ${{ secrets.MITTWALD_API_TOKEN }}
    mittwald-project-id: 'p-kpbj8e'

Inputs

Input Description Required Default
mittwald-api-token Mittwald API token for authentication yes
mittwald-project-id Mittwald project ID to deploy to (e.g. p-kpbj8e) yes
node-version Node.js version to use no 24
mittwald-cli-branch Branch of the mittwald CLI to clone no feat/containerize-deploy
container-deploy-repo URL of the container-deploy repository no https://github.com/mittwald/container-deploy

Example Workflow

name: Deploy to Mittwald Container Hosting

on:
  workflow_dispatch:

jobs:
  deploy:
    runs-on: ubuntu-latest
    name: Deploy

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Deploy to Mittwald Container Hosting
        uses: mittwald/rp-container-deploy-action@master
        with:
          mittwald-api-token: ${{ secrets.MITTWALD_API_TOKEN }}
          mittwald-project-id: 'p-kpbj8e'

About

Github action to build and deploy arbitrary repositories as container into given project. Uses railpack under the hood to "guess" image building steps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors