Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Diketahui adanya issue pada project yang ter-deploy ke server. Dimana end-point URL di frontend masih menggunakan local endpoint, hal tersebut kemungkinan besar dikarenakan konfigurasi berikut
laravel-project/.github/workflows/main.yml
Lines 14 to 18 in f7de4dc
Yang menjadikan setiap form request tidak mengarahkan ke url yang semestinya.
Selain itu, saat ini di project ini ada 2 workflow yaitu
main
danbuild-deploy
dimana memiliki job yang sama, yaitu deploy. Bedanya di workflowmain
deployment khusus untuk branchmain
saja, dan belum mendukung untuk deployment di branch lain ataupun pull request. Sedangkan workflowbuild-deploy
hanya untuk deployment berbasis tags, yang mana cukup jarang atau jarang sekali digunakan, setidaknya saat ini.Masalahnya adalah ketika ada perubahan konfigurasi di workflow
main
, tentu kita juga harus mengubah konfigurasi dibuild-deploy
juga. Yangmana hal tersebut rawan sekali lupa (termasuk saya).Dalam PR ini saya coba untuk merubah workflow deployment nantinya hanya ada 1 yaitu
deploy
dengan hanya di-trigger melalui tag (seperti sebelumnya) dan juga di-trigger dari workflowmain
setelahe2e
job selesai.see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onworkflow_call