feat: init dockerfile guide #5903
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: Build | |
on: | |
merge_group: | |
branches: master | |
push: | |
branches: master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: 20 | |
- name: Install Hugo | |
uses: peaceiris/actions-hugo@v3 | |
with: | |
hugo-version: 0.140.0 | |
extended: true | |
- name: Install Bundler | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7 | |
bundler-cache: true | |
- name: Install asciidoctor | |
run: gem install asciidoctor | |
- name: Show Hugo Version | |
run: hugo version | |
- name: Install dependencies | |
run: npm install | |
- name: Run Hyas test script | |
run: npm test | |
- name: Build production website | |
run: npm run build |