Skip to content

Merge pull request #285 from togoid/main #99

Merge pull request #285 from togoid/main

Merge pull request #285 from togoid/main #99

name: "create production release"
on:
push:
branches:
- production
paths:
- 'docs/help.md'
- 'docs/help_ja.md'
jobs:
release-production:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 1
- id: date
run: echo "::set-output name=date::$(TZ=Asia/Tokyo date +'%Y%m%d-%H%M%S')"
- uses: avakar/tag-and-release@v1
with:
tag_name: release-${{ steps.date.outputs.date }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}