Skip to content

Add new Community's talk: Score at Cloud Native Rejekts NA 2024 (#145) #35

Add new Community's talk: Score at Cloud Native Rejekts NA 2024 (#145)

Add new Community's talk: Score at Cloud Native Rejekts NA 2024 (#145) #35

Workflow file for this run

name: Deploy Hugo site to Pages
on:
push:
branches: ["main"]
paths-ignore:
- README.md
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md
workflow_dispatch:
inputs: {}
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install yarn
run: npm install -g yarn
- name: Install Node.js dependencies
run: yarn install
- name: Check
run: yarn run dprint check
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build with Hugo
run: |
yarn run hugo \
--minify \
--themesDir ../.. \
--baseURL "${{ steps.pages.outputs.base_url }}"
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./public
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4