This commit is contained in:
parent
756059895f
commit
d269ed8d38
19
.gitea/workflows/deploy.yml
Normal file
19
.gitea/workflows/deploy.yml
Normal 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
2
deploy
@ -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
|
||||||
|
@ -150,6 +150,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>
|
<h1>
|
||||||
Adam Burgess
|
Adam Burgess
|
||||||
|
<div role="doc-subtitle">Software Developer in Sydney</div>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<h2>My Projects</h2>
|
<h2>My Projects</h2>
|
||||||
|
Loading…
Reference in New Issue
Block a user