This document outlines the deployment flows for both staging and production environments.
graph TD
A[Push to Main Branch] --> B[Build Application]
B --> C[Run Tests]| [{"id":"tt15097216","title":"Jai Bhim","cover_url":"https://m.media-amazon.com/images/M/MV5BY2Y5ZWMwZDgtZDQxYy00Mjk0LThhY2YtMmU1MTRmMjVhMjRiXkEyXkFqcGdeQXVyMTI1NDEyNTM5._V1_UY98_CR5,0,67,98_AL_.jpg","summary":"When a tribal man is arrested for a case of alleged theft, his wife turns to a human-rights lawyer to help bring justice.","min_age":"16+","runtime":"164 min","categories":["Crime","Drama"],"imdb":"9,3","casting":["T.J. Gnanavel","Suriya","Lijo Mol Jose","Manikandan","Rajisha Vijayan"]},{"id":"tt0111161","title":"The Shawshank Redemption","cover_url":"https://m.media-amazon.com/images/M/MV5BMDFkYTc0MGEtZmNhMC00ZDIzLWFmNTEtODM1ZmRlYWMwMWFmXkEyXkFqcGdeQXVyMTMxODk2OTU@._V1_UX67_CR0,0,67,98_AL_.jpg","summary":"Two imprisoned men bond over a number of years, finding solace and eventual redemption through acts of common decency.","min_age":"13+","runtime":"142 min","categories":["Drama"],"imdb":"9,3","casting":["Frank Darabont","Tim Robbins","Morgan Freeman","Bob Gunton","William Sadler"]},{"id":"tt0068646"," |
| require 'facebookbusiness' | |
| require 'awesome_print' | |
| access_token = '' | |
| ad_account_id = '' | |
| app_secret = '' | |
| page_id = '' | |
| app_id = '' | |
| FacebookAds.configure do |config| |
| # frozen_string_literal: true | |
| class ImageUploader < CarrierWave::Uploader::Base | |
| # Include RMagick or MiniMagick support: | |
| # include CarrierWave::RMagick | |
| include CarrierWave::MiniMagick | |
| # Choose what kind of storage to use for this uploader: | |
| storage :file | |
| # storage :fog |
| asdasdasd |
| { | |
| "airports": [ | |
| { | |
| "refCode": "SAW", | |
| "city": "İstanbul Anadolu", | |
| "name": "Sabiha Gökçen Havalimanı - İstanbul Anadolu" | |
| }, | |
| { | |
| "refCode": "IST", | |
| "city": "İstanbul Avrupa", |
| release_type=$1 | |
| version="" | |
| if [ -z "$release_type" ]; then | |
| release_type="--patch" | |
| fi | |
| if [ "$release_type" = "--major" ]; then | |
| release_type="major" | |
| elif [ "$release_type" = "--minor" ]; then |
| package main | |
| import ( | |
| "github.com/gofiber/fiber/v2" | |
| "github.com/gofiber/fiber/v2/log" | |
| "gorm.io/driver/postgres" | |
| "gorm.io/gorm" | |
| "gorm.io/gorm/clause" | |
| "gorm.io/gorm/logger" | |
| ) |
| import { plainToClass } from 'class-transformer'; | |
| import { PromptEntity } from '@app/modules/prisma/prompt.entity'; | |
| import { AdminEntity } from '@app/modules/prisma/admin.entity'; | |
| import { ProfileEntity } from '@app/modules/prisma/profile.entity'; | |
| import { UserEntity } from '@app/modules/prisma/user.entity'; | |
| type Constructor<T = {}> = new (...args: any[]) => T; | |
| function WithClassMapping<T extends Constructor>(Base: T) { |
| import React, { useEffect } from "react"; | |
| import { useOne, useResourceParams, useInvalidate, HttpError, useCustomMutation } from "@refinedev/core"; | |
| import { SheetHeader, SheetTitle } from "@app/components/sheet"; | |
| import { Sheet, SheetContent } from "@app/components/sheet"; | |
| import type { CreateOrUpdateProfileRequest, ErrorResponseDto, ProfileEntity } from "@app/api"; | |
| import { Button } from "@app/@shadcn/ui/button"; |