Sign inSign up

niklasmerz/github-deployment-action

By niklasmerz

Updated about 6 years ago

Image
0

181

niklasmerz/github-deployment-action repository overview

Create Github deployments in you actions

If you have any questions please ping me. This action basically works but has not all features I want it to.

This actions allows you to create a deployment and set a deployment status.

For options please see deployment.js and the Github documentation

First create a deployment and with flag -f create the success status:

- name: create deployment
  uses: niklasmerz/github-deployment-action@master
  if: contains(github.ref, 'master')
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  with:
    args: -o niklasmerz -r myrepo -c master -e production
- name: set deployment status
  uses: niklasmerz/github-deployment-action@master
  if: contains(github.ref, 'master')
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  with:
    args: -o niklasmerz -r myrepo -s success -u https://url.com -f

Tag summary

Content type

Image

Digest

Size

46.1 MB

Last updated

about 6 years ago

docker pull niklasmerz/github-deployment-action