From 2246620a2e20e0735825ac053494101be1a4e929 Mon Sep 17 00:00:00 2001 From: suroh Date: Fri, 2 Feb 2024 15:35:55 +0100 Subject: [PATCH] added copy of built site --- .gitea/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 7998649..b7d080a 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,5 +1,5 @@ name: work.suroh.tk deploy -run-name: ${{ github.action_repository }} is being built and deployed +run-name: ${{ github.repository }} is being built and deployed on: push: branches: @@ -18,7 +18,7 @@ jobs: run: npm i - name: Build 11ty site - run: npm run build && cd _site + run: npm run build - - name: Check build directory - run: pwd + - name: Copy built site to host folder + run: docker cp my_runner:/workspace/${{ github.repository }}/_site /var/www/work.suroh.tk