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