.github/workflows/cd.yml in convenient_service-0.1.0 vs .github/workflows/cd.yml in convenient_service-0.2.0
- old
+ new
@@ -20,13 +20,13 @@
push:
branches:
- main
jobs:
- deploy:
+ deploy_api_docs:
runs-on: ubuntu-20.04
- name: Deploy
+ name: Deploy API Docs
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
@@ -50,5 +50,18 @@
- name: Deploy docs to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
+
+ create_github_release:
+ runs-on: ubuntu-20.04
+ name: Create GitHub Release PR
+ steps:
+ - uses: google-github-actions/release-please-action@v3
+ with:
+ changelog-path: CHANGELOG.md
+ default-branch: main
+ include-v-in-tag: true
+ package-name: convenient_service
+ release-type: ruby
+ version-file: lib/convenient_service/version.rb