Skip to content

Conversation

@Twsouza
Copy link
Contributor

@Twsouza Twsouza commented May 13, 2022

Same as PR #5 but the master didn't exist and the commit was lost. It will add the description input to the action.

Solving #2 for me, and based on this convox/action-deploy@805c876 this PR change can be used like so:

    - name: capture branch
      id: vars
      run: |
        echo ::set-output name=branch::${GITHUB_REF#refs/*/}
        echo ::set-output name=sha_short::$(git rev-parse --short HEAD)
        echo ::set-output name=message::$(git log -1 --pretty=%B)
    - name: production
      uses: digivizer/action-build@description-input
      with:
        rack: production
        app: ${{ github.event.repository.name }}
        description: push digivizer/${{ github.event.repository.name }}:${{ steps.vars.outputs.branch }} ${{ steps.vars.outputs.sha_short }} ${{ steps.vars.outputs.message }}

@Twsouza Twsouza requested review from ddoc and heronrs May 13, 2022 18:51
@Twsouza Twsouza merged commit 5607bc7 into master May 13, 2022
@kaiomagalhaes kaiomagalhaes deleted the build-description branch May 13, 2022 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants