-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(backend): added build & deploy composite #28
Conversation
|
||
runs: | ||
using: "composite" | ||
steps: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tambahan checkout.
- name: Checking out repository
uses: actions/checkout@v3
Jadi ini approachnya kayaknya kita pengen pisahin jadi kalo build ya build aja kayak unit test, kan gaperlu dipush ke docker imagenya makanya input gcr ama docker dan gcloud ga dipasang. Asumsinya ga kestiap build itu pasti butuh push, gitu sih tapi deploy kan butuh build jadi pasti butuh push, makanya define action docker, gcloud dan gcrnya di deploy, makanya bentuk actionya skarang kayak gini gimana menurut mas @dimzrio ? |
Kurefactor jadinya pas bagian build ada nerima parameter jadi bagian deploynya pure deploy aja |
ah baru nangkep context nya. sory2, kmrin asumsi w perlakuannya kyk composite nya frontend. kg baca detail desc PR nya..haha |
979b287
to
a48e63f
Compare
Tested in suramadu
https://github.com/kitabisa/suramadu/actions/runs/3755325002
Please review and approve so we can use main branch for build push deploy dev/stg/prod
The approach is created to standardize workflow that utilize
Some assumptions