Skip to content

Commit

Permalink
Merge pull request #7 from 508-dev/sams/bio-update
Browse files Browse the repository at this point in the history
Sam Simonds bio update
  • Loading branch information
komali2 authored Oct 25, 2023
2 parents e9e2f96 + 746c463 commit 7bcb6a2
Show file tree
Hide file tree
Showing 10 changed files with 729 additions and 229 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy Prod

# -----
# This workflow will run whenever changes are pushed to main
# -----

on:
push:
branches:
- main
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
SSH_HOST: ${{ secrets.SSH_HOST }}
SSH_PORT: ${{ secrets.SSH_PORT }}
SSH_USERNAME: ${{ secrets.SSH_USERNAME }}
jobs:
deploy:
name: Deploy
environment: prod
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- uses: actions/download-artifact@v2
- name: Copy bleck into id rsa
run: install -m 600 -D /dev/null ~/.ssh/id_rsa
- name: See if env vars propagated
run: echo "$SSH_HOST"
- name: Copy private key into keyfile
run: echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- name: Scan into known hosts
run: ssh-keyscan -H -p "$SSH_PORT" "$SSH_HOST" > ~/.ssh/known_hosts
- name: Send updated source to our VPS
run: rsync -rav --delete --omit-dir-times --no-perms -e 'ssh -p 3732' ${{ github.workspace }}/src/ "$SSH_USERNAME"@"$SSH_HOST":/var/www/html/
131 changes: 0 additions & 131 deletions src/about.html

This file was deleted.

71 changes: 71 additions & 0 deletions src/blog/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta name="author" content="Caleb Rogers, Sam Simonds">
<meta name="description" content="508.dev LLC, Engineering Services Co-op">
<meta name="keywords" content="engineering, saas, web development, app development">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/x-icon" href=""> <!--add image icon here-->
<link href="../css/style.css" rel="stylesheet">
<title>508.dev Blog</title>
</head>
<body>
<header>
<h1 class="desktop">
508 Blog
</h1>
<h1 class="tablet">
508 Blog
</h1>
<h1 class="mobile">
508 Blog
</h1>
<h2 class="desktop">
Software Engineering Co-op
</h2>
<h2 class="tablet">
Software Engineering
</h2>
<h2 class="tablet">
Co-op
</h2>
<h2 class="mobile">
Software Engineering Co-op
</h2>
<section>
<nav>
<ol>
<li><a href="../index.html">Home</a></li>
<li><a href="../clients.html">Client</a></li>
<li><a href="../engineering.html">Engineer</a></li>
<li><a href="index.html">Blog</a></li>
</ol>
</nav>
</section>
</header>
<main>
<section>
<p>
508.dev LLC is a software engineering co-op. We provide engineering services for our clients, and opportunities for developers of all levels to improve their abilities and portfolio.
</p>
</section>
<section>
<h2>Posts</h2>
<ul>
<li>
<a href="posts/new-project-creation.html">New Project Setup Steps</a>
</li>
<li>
<a href="posts/contributing-to-508.html">Contributing to 508</a>
</li>
<li>
<a href="posts/make-a-blog.html">Make a Blog</a>
</li>
</ul>
</section>
</main>
</body>

</html>
Loading

0 comments on commit 7bcb6a2

Please sign in to comment.