From 6de658169ecf5de9274878ea19e8a47de86c8440 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kleines=20Filmr=C3=B6llchen?= Date: Sat, 14 Dec 2024 23:53:53 +0100 Subject: [PATCH] minification in the pipeline --- .forgejo/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index cb91806..870f3a7 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -11,11 +11,13 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: Install dependencies - run: apk add curl nodejs git zola openssh + run: apk add curl nodejs git zola openssh minify - name: Output SSH key to file run: echo ${{ secrets.SSH_KEY }} > ssh_id - name: Build web run: zola build + - name: Minify files + run: minify --all -r -o . public # TODO: this is where the LaTeX build would go... - name: Transfer built files run: scp -i ssh_id -o StrictHostKeyChecking=accept-new -r ./public/ ${{ vars.SERVER_URL }}