PD-1403 / dev1 / Pd 1403 remove core and true command from master (25.04) (by micjohnson777) #8869
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: 'Internal Contributor Build Preview' | |
on: | |
pull_request: | |
branches: [dev1] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
deploy: | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod | |
- uses: pnpm/action-setup@v4 | |
with: | |
version: latest | |
- name: Setup Hugo | |
uses: peaceiris/[email protected] | |
with: | |
hugo-version: '0.117.0' | |
extended: true | |
- name: Install dependencies | |
run: pnpm i | |
- name: Print PNPM modules after install | |
run: du -d 0 -h ~/.pnpm-store/*/*/* || true | |
- name: Build Hugo Site | |
run: hugo -d public --gc --minify |