Skip to content

Commit

Permalink
Display a directory listing after hugo runs
Browse files Browse the repository at this point in the history
Display a directory listing after hugo runs to confirm we have a public
directory.
  • Loading branch information
owenwaller committed Jan 15, 2024
1 parent 80cf319 commit 6cc94b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/gophercoders.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
sudo apt-get install ./hugo_${RELEASENOV}_linux-amd64.deb
- name: Build Website
run: hugo
run: |
hugo
ls -l
- name: Configure SSH
run: |
Expand Down Expand Up @@ -55,7 +57,7 @@ jobs:
run: ssh gophercoders.com 'mkdir ~/gophercoders.com'

- name: Copy website pages and assets
run: scp -r ~/public/* gophercoders.com:~/gophercoders.com/
run: scp -r ./public/* gophercoders.com:~/gophercoders.com/

- name: Stop nginx
run: ssh gophercoders.com 'sudo service nginx stop'
Expand Down

0 comments on commit 6cc94b0

Please sign in to comment.