Skip to content

Commit

Permalink
feat: add github actions
Browse files Browse the repository at this point in the history
printSANO committed Nov 8, 2024
1 parent e533834 commit 15dace2
Showing 8 changed files with 33 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/crawler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy Crawler

on:
workflow_dispatch:
inputs:
image_tag:
description: "Version to deploy"
required: true
image_name:
description: "Name of the image to deploy"
required: true
replicas:
description: "Number of replicas"
required: true

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Deploy the app
run: echo "Deploying the app..."

- name: Echo inputs
run: echo "Image tag = ${{ github.event.inputs.image_tag }}"
run: echo "Image name = ${{ github.event.inputs.image_name }}"
run: echo "Replicas = ${{ github.event.inputs.replicas }}"
Empty file added .github/workflows/nest.yml
Empty file.
Empty file added .github/workflows/parser.yml
Empty file.
Empty file added crawler-stack.yml
Empty file.
Empty file added main-stack.yml
Empty file.
Empty file added nest-stack.yml
Empty file.
Empty file added parser-stack.yml
Empty file.
3 changes: 3 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

docker network create -d overlay --attachable main-network

0 comments on commit 15dace2

Please sign in to comment.