Create a directory .github/workflows in root of. your project
Create main.yml file in that directory with following content
name: Deploy
# Trigger the workflow on push and
# pull request events on the master branch
on:| #files | |
| <svg id="livetype" xmlns="http://www.w3.org/2000/svg" width="119.66407" height="40" viewBox="0 0 119.66407 40"> | |
| <title>Download_on_the_App_Store_Badge_US-UK_RGB_blk_4SVG_092917</title> | |
| <g> | |
| <g> | |
| <g> | |
| <path d="M110.13477,0H9.53468c-.3667,0-.729,0-1.09473.002-.30615.002-.60986.00781-.91895.0127A13.21476,13.21476,0,0,0,5.5171.19141a6.66509,6.66509,0,0,0-1.90088.627A6.43779,6.43779,0,0,0,1.99757,1.99707,6.25844,6.25844,0,0,0,.81935,3.61816a6.60119,6.60119,0,0,0-.625,1.90332,12.993,12.993,0,0,0-.1792,2.002C.00587,7.83008.00489,8.1377,0,8.44434V31.5586c.00489.3105.00587.6113.01515.9219a12.99232,12.99232,0,0,0,.1792,2.0019,6.58756,6.58756,0,0,0,.625,1.9043A6.20778,6.20778,0,0,0,1.99757,38.001a6.27445,6.27445,0,0,0,1.61865,1.1787,6.70082,6.70082,0,0,0,1.90088.6308,13.45514,13.45514,0,0,0,2.0039.1768c.30909.0068.6128.0107.91895.0107C8.80567,40,9.168,40,9.53468,40H110.13477c.3594,0,.7246,0,1.084-.002.3047,0,.6172-.0039.9219-.0107a13.279,13.279,0,0,0,2-.1768,6.80432,6.80432,0,0,0,1.9082-.6308,6 |
| [ | |
| { | |
| "id": "post_1001", | |
| "author": { | |
| "name": "Anjali Mehra", | |
| "headline": "Product Manager at Razorpay", | |
| "profile_url": "https://www.linkedin.com/in/anjali-mehra", | |
| "profile_image": "https://media.licdn.com/dms/image/D4D03AQFd6EPRl1lWvQ/profile-displayphoto-shrink_200_200/0/1682523316892?e=2147483647&v=beta&t=fakeprofilepic" | |
| }, | |
| "content": { |
| const { spawn } = require('child_process'); | |
| const path = require('path'); | |
| const fs = require('fs'); | |
| class JanusMjrConverter { | |
| constructor(inputDir, mjrFilename, wavFilename) { | |
| this.inputDir = path.resolve(inputDir); | |
| this.mjrPath = path.join(this.inputDir, mjrFilename); | |
| this.wavPath = path.join(this.inputDir, wavFilename); | |
| this.totalCount = 0; |
| networks: | |
| pulsar: | |
| driver: bridge | |
| services: | |
| zookeeper: | |
| image: apachepulsar/pulsar:4.0.4 | |
| container_name: zookeeper | |
| restart: on-failure |
| "use strict"; | |
| var __importDefault = (this && this.__importDefault) || function (mod) { | |
| return (mod && mod.__esModule) ? mod : { "default": mod }; | |
| }; | |
| Object.defineProperty(exports, "__esModule", { value: true }); | |
| exports.BaseService = void 0; | |
| const lodash_1 = __importDefault(require("lodash")); | |
| const rxjs_1 = require("rxjs"); | |
| const prismaMetaMapper_1 = require("./prismaMetaMapper"); | |
| class BaseService { |
| { | |
| "AF": { | |
| "name": "Afghanistan", | |
| "callingCode": 93, | |
| "isoA2": "AF", | |
| "isoA3": "AFG", | |
| "isoNum": 4 | |
| }, | |
| "AL": { | |
| "name": "Albania", |
| ffmpeg -y -hwaccel cuda \ | |
| -i video1.mp4 -hwaccel cuda -i video2.mp4 -hwaccel cuda -i video3.mp4 -hwaccel cuda -i video4.mp4 \ | |
| -filter_complex "[0:v]scale=iw/2:ih/2[v0];[1:v]scale=iw/2:ih/2[v1];[2:v]scale=iw/2:ih/2[v2];[3:v]scale=iw/2:ih/2[v3];[v0][v1]hstack[top];[v2][v3]hstack[bottom];[top][bottom]vstack" \ | |
| -c:v h264_nvenc -preset fast -b:v 5M output.mp4 |
| alias watch_netstat='watch -n 1 "echo '\''Proto Recv-Q Send-Q Local Address Foreign Address State'\'' && sudo netstat -ant | grep ESTABLISHED | awk '\''\$2 > 0 || \$3 > 0'\''"' |
| caddy: | |
| image: caddy:2.7.4 | |
| restart: always | |
| volumes: | |
| - caddy_data:/data | |
| - ./Caddyfile:/etc/caddy/Caddyfile | |
| ports: | |
| - 80:80 | |
| - 443:443 | |
| volumes: |