-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from 508-dev/sams/bio-update
Sam Simonds bio update
- Loading branch information
Showing
10 changed files
with
729 additions
and
229 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,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/ |
This file was deleted.
Oops, something went wrong.
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,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> |
Oops, something went wrong.