-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of https://github.com/ayushshukla011/CodeUtsava7.0 …
…into dev
- Loading branch information
Showing
84 changed files
with
1,371 additions
and
3,444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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!🚀🚀🚀" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.