Skip to content

Commit

Permalink
ci: Fixed auto publishing of preview versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Mar 7, 2025
1 parent 25ad5e3 commit 91b5484
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
6 changes: 4 additions & 2 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
- 'examples/**'
- 'src/helpers/GenerateDocs/**'
- '.github/workflows/mkdocs.yml'
- 'src/tests/IntegrationTests/**'
- 'README.md'

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
Expand All @@ -28,7 +30,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup Pages
uses: actions/configure-pages@v5

Expand All @@ -46,7 +48,7 @@ jobs:
source myenv/bin/activate
pip install mkdocs-material
mkdocs build -d ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

Expand Down
2 changes: 1 addition & 1 deletion src/helpers/FixOpenApiSpec/FixOpenApiSpec.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="AutoSDK" Version="0.27.1-dev.89" />
<PackageReference Include="AutoSDK" Version="0.28.1-dev.2" />
<PackageReference Include="Microsoft.OpenApi.Readers" Version="1.6.23" />
</ItemGroup>

Expand Down

0 comments on commit 91b5484

Please sign in to comment.