diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..a9d78d8 Binary files /dev/null and b/.DS_Store differ diff --git a/.github/workflows/clean-workflow.yml b/.github/workflows/clean-workflow.yml new file mode 100644 index 0000000..d36c4c3 --- /dev/null +++ b/.github/workflows/clean-workflow.yml @@ -0,0 +1,32 @@ +# This is a basic workflow to help you get started with Actions + +name: Clean Workflow + +# Controls when the workflow will run +on: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + job_one: + # The type of runner that the job will run on + name: Clean + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - name: testing + uses: appleboy/ssh-action@master + with: + host: ${{secrets.HOST}} + username: ${{secrets.USERNAME}} + password: ${{secrets.PASSWORD}} + port: ${{secrets.PORT}} + script: | + cd ../pub + unalias rm + rm -rf cmsc389T-web-template + diff --git a/.github/workflows/clone-workflow.yml b/.github/workflows/clone-workflow.yml new file mode 100644 index 0000000..2a345b3 --- /dev/null +++ b/.github/workflows/clone-workflow.yml @@ -0,0 +1,30 @@ +# This is a basic workflow to help you get started with Actions + +name: Clone workflow + +# Controls when the workflow will run +on: + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + job_one: + # The type of runner that the job will run on + name: Clone + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - name: testing + uses: appleboy/ssh-action@master + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + password: ${{ secrets.PASSWORD }} + port: ${{ secrets.PORT }} + script: | + cd ../pub + git clone git@github.com:berinyuy/cmsc389T-web-template.git diff --git a/.github/workflows/deployment-workflow.yml b/.github/workflows/deployment-workflow.yml new file mode 100644 index 0000000..3732f9d --- /dev/null +++ b/.github/workflows/deployment-workflow.yml @@ -0,0 +1,33 @@ +# This is a basic workflow to help you get started with Actions + +name: deployment workflow + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [master] + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + job_one: + # The type of runner that the job will run on + name: Deploy + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - name: testing + uses: appleboy/ssh-action@master + with: + host: ${{secrets.HOST}} + username: ${{secrets.USERNAME}} + password: ${{secrets.PASSWORD}} + port: ${{secrets.PORT}} + script: | + cd ../pub + cd cmsc389T-web-template + git pull + diff --git a/Dockerfile b/Dockerfile index 2f9a87c..b9a8da1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,3 +4,23 @@ #expose port 8080 and run the app #the docker lecture will help you complete this file #there should be a total of 9 lines +FROM node:10-alpine + + +RUN mkdir -p /home/node/app && chown -R node:node /home/node/app + +RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app/node_modules + +WORKDIR /home/node/app/ + +COPY package.json ./ + +USER node + +RUN npm install + +COPY --chown=node:node . . + +EXPOSE 8080 + +CMD node app.js \ No newline at end of file diff --git a/assets/pic.jpeg b/assets/pic.jpeg new file mode 100644 index 0000000..31f78ee Binary files /dev/null and b/assets/pic.jpeg differ diff --git a/assets/profilePic.jpg b/assets/profilePic.jpg new file mode 100644 index 0000000..c291742 Binary files /dev/null and b/assets/profilePic.jpg differ diff --git a/index.html b/index.html index 03896f9..e0fb2cf 100644 --- a/index.html +++ b/index.html @@ -1,64 +1,84 @@ - - - YOUR NAME - - - -
-
-

YOUR NAME

-
-


-
-

About Me

- -

INTRODUCE YOURSELF + + + Brian Ndofor + + -

+ +
+
+

Brian Ndofor

+
+


+
+

About Me

+ +

INTRODUCE YOURSELF + I am a computer science major from Largo, MD. I am a junior and I previously + interned Bloomberg LP as a Software Engineer. +

-

- Relevant Info -

+

+ Relevant Info + Major: Computer Science + Hometown: Largo, MD + University: University of Maryland, College Park + Height: 6' 4" + Country of Origin: Cameroon +

-

- your interests -

+

+ your interests -










-

-
-
+
+
+ + + - - -
  • - - - -
  • - - - - - - - - - + \ No newline at end of file