Skip to content

Commit

Permalink
Fix actions-gh-pages usage (#882)
Browse files Browse the repository at this point in the history
  • Loading branch information
RustedBones authored Jan 9, 2024
1 parent eef62bb commit c86323e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ jobs:

- name: Publish site
if: startsWith(github.ref, 'refs/tags/v')
env:
uses: peaceiris/actions-gh-pages@v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: site/target
keep_files: true
uses: peaceiris/actions-gh-pages@v3.9.3
4 changes: 2 additions & 2 deletions .github/workflows/publish-gh-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ jobs:

- name: Publish site
# if: startsWith(github.ref, 'refs/tags/v')
env:
uses: peaceiris/actions-gh-pages@v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: site/target
keep_files: true
uses: peaceiris/actions-gh-pages@v3.9.3
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ ThisBuild / githubWorkflowAddedJobs ++= Seq(
),
WorkflowStep.Use(
UseRef.Public("peaceiris", "actions-gh-pages", "v3.9.3"),
env = Map(
params = Map(
"github_token" -> "${{ secrets.GITHUB_TOKEN }}",
"publish_dir" -> {
val path = (ThisBuild / baseDirectory).value.toPath.toAbsolutePath
Expand Down

0 comments on commit c86323e

Please sign in to comment.