Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikvedvik committed Nov 17, 2023
2 parents 99b6511 + 714c695 commit 7406201
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions workflows/export/vx_export_bmm.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,13 @@ func VXExportToBMM(ctx workflow.Context, params VXExportChildWorkflowParams) (*V
ingestFolder := params.ExportData.SafeTitle + "_" + workflow.GetInfo(ctx).OriginalRunID
err = workflow.ExecuteActivity(ctx, activities.RcloneCopyDir, activities.RcloneCopyDirInput{
Source: outputFolder.Rclone(),
Destination: fmt.Sprintf("bmms3:/int-bmm-mediabanken/" + ingestFolder),
Destination: fmt.Sprintf("bmms3:/prod-bmm-mediabanken/" + ingestFolder),
}).Get(ctx, nil)
if err != nil {
return nil, err
}

// TODO: Trigger as activity?
trigger := "https://int-bmm-api.brunstad.org/events/mediabanken-export/?path="
trigger := "https://bmm-api.brunstad.org/events/mediabanken-export/?path="
jsonS3Path := path.Join(ingestFolder, "bmm.json")
trigger += url.QueryEscape(jsonS3Path)

Expand Down

0 comments on commit 7406201

Please sign in to comment.