Skip to content

Commit

Permalink
feat: add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
key-hui-mentem committed Jan 11, 2023
1 parent ff4511b commit ea6f798
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/cd-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: CD Pipeline - production

on:
release:
types: [published]

jobs:
terraform:
name: 'Deploy to production'
runs-on: ubuntu-latest
environment: production
steps:
- name: Checkout
uses: actions/checkout@v3
15 changes: 15 additions & 0 deletions .github/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
push:
branches:
- main
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
with:
release-type: node
package-name: version-control
pull-request-title-pattern: 'chore: release${component} ${version}'
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit ea6f798

Please sign in to comment.