Skip to content

Commit

Permalink
add write permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Halbaroth committed Jul 22, 2024
1 parent 7fb9720 commit 46a0428
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Build documentation

on: [push, pull_request]

permissions:
contents: write

env:
OCAML_DEFAULT_VERSION: 4.14.2
# Add OPAMYES=true to the environment, this is usefill to replace `-y` option
Expand Down Expand Up @@ -38,7 +41,7 @@ jobs:
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: _build/sphinx_docs
publish_dir: _build/doc
destination_dir: dev
enable_jekyll: true
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ SPHINX_DOC_DIR := docs/sphinx_docs
BUILD_DIR := _build
INSTALL_DIR := $(BUILD_DIR)/install
DEFAULT_DIR := $(BUILD_DIR)/default
SPHINX_BUILD_DIR := $(BUILD_DIR)/sphinx_docs
SPHINX_BUILD_DIR := $(BUILD_DIR)/doc

# Some variables to help with adding
# flags and/or renaming the dune binary
Expand Down

0 comments on commit 46a0428

Please sign in to comment.