Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into dev
  • Loading branch information
ayushshukla011 committed Sep 16, 2023
2 parents a246fd7 + 131b460 commit c846b7e
Show file tree
Hide file tree
Showing 84 changed files with 1,371 additions and 3,444 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Deploy

on:
push:
branches:
- dev


env:
CI: false

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 18

- name: Install dependencies
run: npm install

- name: Build
run: npm run build

- name: Generate PEM
run: echo "$PEM" >> tcp.pem && chmod 400 tcp.pem
env:
PEM: ${{secrets.PEM}}

- name: Doing the magic now
run: sudo scp -o StrictHostKeyChecking=no -i tcp.pem -r build/* [email protected]:/home/CodeUtsava7.0/build

- name: LIVE!!!
run: echo "Site is Live!🚀🚀🚀"
1 change: 0 additions & 1 deletion build/_redirects

This file was deleted.

63 changes: 0 additions & 63 deletions build/asset-manifest.json

This file was deleted.

1 change: 0 additions & 1 deletion build/codeutsavaTitle.svg

This file was deleted.

Loading

0 comments on commit c846b7e

Please sign in to comment.