Feature/upddate resources and talks 11 2023 #90
Workflow file for this run
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: Standard Build Check | |
on: [push, pull_request] | |
permissions: | |
contents: write | |
jobs: | |
buildtest: | |
name: Build Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install hugo | |
env: | |
HUGO_VER : 0.103.1 | |
run: | | |
curl -LO https://github.com/gohugoio/hugo/releases/download/v${HUGO_VER}/hugo_${HUGO_VER}_linux-amd64.deb | |
sudo dpkg -i hugo_${HUGO_VER}_linux-amd64.deb | |
- name: Generate website | |
run: | | |
hugo -s . | |
- name: Deploy | |
# Only deploy docs if this was a push to master | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} | |
uses: JamesIves/[email protected] | |
with: | |
branch: website # The branch the action should deploy to. | |
folder: public # The folder the action should deploy. | |
commit-message: Auto-deploy docs built from commit ${{ github.sha }} |