File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -324,6 +324,7 @@ jobs:
324324 CMS_ADMIN_HOST=${{ fromJSON('["pastaporto-", ""]')[github.ref == 'refs/heads/main'] }}admin.pycon.it
325325 CMS_HOSTNAME=${{ steps.vars.outputs.cms_hostname }}
326326 CONFERENCE_CODE=${{ steps.vars.outputs.conference_code }}
327+ GIT_HASH=${{ steps.git.outputs.githash }}
327328
328329 deploy-fe :
329330 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ ARG API_URL_SERVER
1616ARG CMS_HOSTNAME
1717ARG CONFERENCE_CODE
1818ARG CMS_ADMIN_HOST
19+ ARG GIT_HASH
1920
2021WORKDIR /app
2122
Original file line number Diff line number Diff line change @@ -26,6 +26,9 @@ module.exports = withSentryConfig({
2626 process . env . NODE_ENV === "production"
2727 ? require . resolve ( "./cache-handler.mjs" )
2828 : undefined ,
29+ generateBuildId : async ( ) => {
30+ return process . env . GIT_HASH ;
31+ } ,
2932 cacheMaxMemorySize : 0 ,
3033 async headers ( ) {
3134 return [
You can’t perform that action at this time.
0 commit comments