Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/bumpversion
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: on merging to default branch

on:
push:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: develop

# push changes to develop
- name: set global attributes
run: |
git config --global user.email "bmsteve96@gmail.com"
git config --global user.name "Benedict Steven"
git remote set-url origin https://x-access-token:${{ secrets.TOKEN }}@github.com/${{ github.repository }}
- name: Build
run: npm install

- name: Build
run: npm run build

- name: bump version actions
uses: bmsteven/bump-version@1.0.3
with:
GITHUB_TOKEN: ${{secrets.TOKEN}}
SLACK_WEBHOOK_URL: ${{secrets.SLACK_WEBHOOK_URL}}
TARGET_BRANCH: master
DESTINATION_BRANCH: develop
APP_NAME: Engineering-blog

- name: update develop branch
run: |
git add package.json
git add changelog.md
git add action
git commit -m "Skip CI"
git push