build-test-site.yaml 525 B

1234567891011121314151617181920212223242526
  1. name: build test site
  2. on:
  3. push:
  4. branches:
  5. - main
  6. paths:
  7. - 'wowchemy/**'
  8. jobs:
  9. deploy:
  10. runs-on: ubuntu-18.04
  11. steps:
  12. - uses: actions/checkout@v2
  13. with:
  14. submodules: true # Fetch Hugo themes (true OR recursive)
  15. fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
  16. - name: Setup Hugo
  17. uses: peaceiris/actions-hugo@v2
  18. with:
  19. hugo-version: 'latest'
  20. extended: true
  21. - name: Build
  22. run: hugo --minify