Mount the public dir so builds generate files #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Deploy Website | |
on: # yamllint disable-line rule:truthy | |
push: | |
paths-ignore: | |
- README.md | |
- LICENSE | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
# Run Hugo on the server to build the site | |
- name: Build Site with Hugo | |
uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.DEPLOY_HOST }} | |
username: ${{ secrets.DEPLOY_USERNAME }} | |
key: ${{ secrets.DENSEBOT_PRIVATE_SSH_KEY }} | |
script_stop: true | |
script: ~/denseanalysis-org/deploy.sh |