Skip to content

Instantly share code, notes, and snippets.

View kalilinux-png's full-sized avatar
🦾
Working from home

shubham yadav kalilinux-png

🦾
Working from home
View GitHub Profile
@kalilinux-png
kalilinux-png / deploy.yml
Created December 10, 2023 13:15
Github Actions FTP
on: push
name: Deploy To Production Server
jobs:
web-deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# uncommnet this if you want to build your site before deploying
@kalilinux-png
kalilinux-png / deploy.yml
Last active December 11, 2023 06:02
Deploy React Website
on: push
name: Deploy To Production Server
jobs:
web-deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
@kalilinux-png
kalilinux-png / gitAutomation.sh
Created May 21, 2024 18:15
This is a script for automating the creation of a GitHub repository.
#!/bin/bash
# Get the current directory name
REPO_NAME=$(basename "$PWD")
# Create a .gitignore file
cat << EOF > .gitignore
# Node.js
node_modules/