Skip to content

Merge branch 'Onlineberatung:develop' into develop #1

Merge branch 'Onlineberatung:develop' into develop

Merge branch 'Onlineberatung:develop' into develop #1

Workflow file for this run

name: Release action
release:

Check failure on line 3 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release action

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 3, Col: 1): Unexpected value 'release'
on:
push:
branches:
- 'release'
jobs:
build:
name: Release
if: "!contains(github.event.head_commit.author, '[email protected]')"
runs-on: ubuntu-latest
steps:
- name: set env
run: echo BRANCH=$(echo -n "${GITHUB_REF#refs/heads/}") >> $GITHUB_ENV
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10
- run: npm i
- name: Bump version
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
npm run release
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{env.BRANCH}}
force: true
tags: true