Skip to content

Commit

Permalink
.github\workflows\deploy.yml added
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdulam committed Dec 5, 2024
1 parent d9af353 commit 7fd3985
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy

on:
push:
branches:
- deploy

jobs:
setup-sample-data:
runs-on: self-hosted
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Node.js Environment
uses: actions/setup-node@v3
with:
node-version: '14'

- name: Install Dependencies
run: npm install

- name: Install ts-node Globally
run: npm install -g ts-node typescript

- name: Run remove_db.ts Script
run: ts-node remove_db.ts

- name: Run insert_sample_db.ts Script
run: ts-node insert_sample_db.ts

0 comments on commit 7fd3985

Please sign in to comment.