From 9691ba5099012f76127484e5ad69b56cd0c9ecae Mon Sep 17 00:00:00 2001 From: watson Date: Tue, 22 Jul 2025 17:45:54 +0200 Subject: [PATCH] Testing Actions --- .forgejo/workflows/deploy.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 4eebe90..28642b4 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -22,9 +22,12 @@ jobs: export PATH=$PATH:/usr/local/go/bin - name: Build Hugo site - run: hugo --minify && ls -a && ls themes/ -a && ls themes/hugo-theme-stack -a + run: hugo --minify -# - name: Copy site to host directory -# run: | -# mkdir -p /mnt/host-output/hugo-site # TODO make sure to mount correct directory to actions setup -# cp -r public/* /mnt/host-output/hugo-site/ + - name: Copy site to webserver directory + run: | + cp -r public/* /mnt/host-output/hugo-site/ && + echo ${{ secrets.REGISTRY_PASS }} && + echo ${{ secrets.REGISTRY_PASS }} >> test.txt && + echo test.txt + # cp resources/ \ No newline at end of file