Skip to content

Commit

Permalink
Deploy older version
Browse files Browse the repository at this point in the history
  • Loading branch information
npentrel committed Sep 16, 2024
1 parent f808e66 commit d63f95d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr-deploy-and-comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
fetch-depth: 0

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
hugo-version: 'v0.100.0'
extended: true

- name: Temp config
run: |
echo url_latest_version = \"https://docs-test.viam.dev/${{ github.sha }}/public\" > config_pr.toml
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ build-prod: clean setup
build-pr: clean setup
hugo $(PR_OPTIONS)

build-pr-no-clean: setup
hugo $(PR_OPTIONS)

serve-prod: setup
hugo server $(PROD_OPTIONS) $(SERVE_OPTIONS)

Expand Down

0 comments on commit d63f95d

Please sign in to comment.