Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ddymko authored Sep 24, 2021
1 parent 20c8583 commit a378b8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: deploy
run: REGISTRY=vultr VERSION=${{ steps.get_version.outputs.VERSION }} make deploy
- name: Get the version
id: get_version
- name: Get the version for mm
id: get_version_mm
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- run: |
echo "{\"text\":\"Packer : Release https://github.com/vultr/vultr-csi/releases/tag/${{ steps.get_version.outputs.VERSION }} \"}" > mattermost.json
- uses: mattermost/action-mattermost-notify@master
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
MATTERMOST_USERNAME: ${{ secrets.MATTERMOST_USERNAME}}
MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }}
MATTERMOST_ICON: ${{ secrets.MATTERMOST_ICON }}

0 comments on commit a378b8c

Please sign in to comment.