From d269ed8d382a6be903fbee454c238f0bbb32a51c Mon Sep 17 00:00:00 2001 From: Adam Burgess Date: Sun, 25 Aug 2024 15:00:44 +1000 Subject: [PATCH] add title and deploy --- .gitea/workflows/deploy.yml | 19 +++++++++++++++++++ deploy | 2 +- src/index.html | 1 + 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..78dfe03 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -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 }} diff --git a/deploy b/deploy index 0c42bc9..bb423ec 100755 --- a/deploy +++ b/deploy @@ -4,5 +4,5 @@ set -e set -x 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 diff --git a/src/index.html b/src/index.html index 2b47629..750f641 100644 --- a/src/index.html +++ b/src/index.html @@ -150,6 +150,7 @@

Adam Burgess +
Software Developer in Sydney

My Projects