Skip to content

Commit

Permalink
Merge pull request #719 from Stremio/fix/ci-docs-overwritting-whole-c…
Browse files Browse the repository at this point in the history
…ontent

Fix/ci docs overwritting whole content
  • Loading branch information
elpiel authored Sep 19, 2024
2 parents ed3b054 + 619ea32 commit 457dda4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
# Check for outdated actions
updates:
- package-ecosystem: "github-actions"
directory: "/"
# Check for updates every Monday
schedule:
interval: "weekly"
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:

- name: Deploy gh-pages
if: ${{ ! startsWith(github.ref, 'refs/pull/') && github.actor != 'dependabot[bot]' }}
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# the build directory already contains the `github.ref_name` as subfolder(s)
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ jobs:
mv target/doc ./docs
- name: Deploy gh-pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
publish_dir: ./docs
# we build and publish docs from `development` branch only
destination_dir: ./docs/${{ github.ref_name }}

0 comments on commit 457dda4

Please sign in to comment.