Skip to content

Merge pull request #159 from thematters/feat/no-header #74

Merge pull request #159 from thematters/feat/no-header

Merge pull request #159 from thematters/feat/no-header #74

Workflow file for this run

name: Create Release
on:
push:
branches:
- main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Get Version
id: version
uses: martinbeentjes/npm-get-version-action@master
- name: Generate CHANGELOG
uses: scottbrenner/generate-changelog-action@master
id: changelog
env:
REPO: ${{ github.repository }}
- name: Create Release
uses: actions/[email protected]
with:
tag_name: v${{ steps.version.outputs.current-version}}
release_name: v${{ steps.version.outputs.current-version}}
body: |
${{ steps.changelog.outputs.changelog }}
draft: false
prerelease: false
- name: Slack Notification
if: always()
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
author_name: matters-ipns-site-generator
fields: repo,message,commit,author,action,eventName,ref,workflow,job,took