Skip to content

Commit d6b60b7

Browse files
committed
Fix deploy
1 parent d4e7984 commit d6b60b7

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/actions/version-bump-and-publish/action.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if ($WhatIfPreference) {
3939

4040
# If last commit was the version bump, skip it
4141
$lastCommitUser = git log -1 --pretty=%aN
42-
if ($lastCommitUser -like "*via GitHub Actions*") {
42+
if ($Type -ne "stable" -and $lastCommitUser -like "*via GitHub Actions*") {
4343
Write-Host "Last commit was a github actions push, skipping version bump this time around"
4444
return
4545
}

.github/workflows/publish-docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
deploy:
1013
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)