diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..a381e05 --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,15 @@ +name: Build and Deploy Quartz +run-name: ${{ gitea.actor }} is building Quartz site +on: [push] + +jobs: + build: + runs-on: docker + steps: + - run: apk add --no-cache nodejs npm git + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + - run: npm ci + - run: npx quartz build + - run: rsync -avz --delete ./public/ /sites/pdg/