Skip to content

fix(about, project, recruitment, footer, contact): fix link to open on a new page #17

fix(about, project, recruitment, footer, contact): fix link to open on a new page

fix(about, project, recruitment, footer, contact): fix link to open on a new page #17

Workflow file for this run

---
name: Release
on:
pull_request:
types: [closed]
branches:
- main
jobs:
release:
if: github.event.pull_request.merged == true
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
with:
node-version: 16
- name: Install dependencies
run: |
npm ci
- name: Commit files
env:
HUSKY_SKIP_HOOKS: 1
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
VERSION=$(npx next-standard-version)
DESCRIPTION=$(npx standard-version --dry-run --silent | grep -v yarn | grep -v Done | grep -v "\-\-\-" | grep -v standard-version)
echo "DESCRIPTION<<EOF" >> $GITHUB_ENV
echo "$DESCRIPTION" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo "VERSION=$VERSION" >> $GITHUB_ENV
npx standard-version
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PAT }}
tags: true
- name: Create Github Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
with:
tag_name: v${{ env.VERSION }}
release_name: Release v${{ env.VERSION }}
body: |
${{ env.DESCRIPTION }}
draft: false
prerelease: false