add title and deploy
Some checks failed
Deploy / deploy (push) Failing after 18s

This commit is contained in:
Adam Burgess 2024-08-25 15:00:44 +10:00
parent 756059895f
commit d269ed8d38
No known key found for this signature in database
3 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,19 @@
name: Deploy
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
container:
image: aburgess/node:22-npm
steps:
- name: Check out repository code
uses: docker://aburgess/checkout:latest
with:
token: ${{ github.token }}
- name: Install Nodejs
run: pnpm i
- name: Deploy
run: ./deploy
env:
DEPLOY_PASS: ${{ secrets.DEPLOY_PASS }}

2
deploy
View File

@ -4,5 +4,5 @@ set -e
set -x set -x
rm -rf dist && nr build rm -rf dist && nr build
curl -s https://deploy.adam.id.au:445/client.mjs > /tmp/client.mjs curl -s https://deploy.adam.id.au:4443/client.mjs > /tmp/client.mjs
DEPLOY_PATH=dist DEPLOY_PROJECT=homepage DEPLOY_CADDYFILE=Caddyfile node /tmp/client.mjs DEPLOY_PATH=dist DEPLOY_PROJECT=homepage DEPLOY_CADDYFILE=Caddyfile node /tmp/client.mjs

View File

@ -150,6 +150,7 @@
<div class="container"> <div class="container">
<h1> <h1>
Adam Burgess Adam Burgess
<div role="doc-subtitle">Software Developer in&nbsp;Sydney</div>
</h1> </h1>
<h2>My Projects</h2> <h2>My Projects</h2>