This commit is contained in:
parent
02247941cd
commit
9691ba5099
1 changed files with 8 additions and 5 deletions
|
|
@ -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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue