Merge pull request #4 from dataesr/staging #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and deploy production | |
on: | |
push: | |
branches: | |
- "main" | |
jobs: | |
bump: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout source code' | |
uses: 'actions/checkout@latest' | |
with: | |
ref: ${{ github.ref }} | |
- name: 'Automated Version Bump' | |
uses: 'phips28/gh-action-bump-version@master' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
minor-wording: 'MINOR' | |
major-wording: 'MAJOR' | |
patch-wording: 'PATCH' | |
tag-prefix: 'v' | |
check-last-commit-only: 'true' | |
PACKAGEJSON_DIR: 'client' |