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