Skip to content

Commit

Permalink
added permisions to github actions for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
WolodjaZ committed Jun 26, 2024
1 parent 017b123 commit 6ba6f8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: CI

on:
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ jobs:
docs:
runs-on: ubuntu-latest
permissions:
contents: write
# packages: write
# pages: write

contents: write # This is required to push the changes to the repository
steps:
- name: Checkout code 📂
uses: actions/checkout@v3
Expand All @@ -23,7 +20,7 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: "3.10"
cache: pip # Cache the pip dependencies
cache: pip

- name: Install dependencies 🛠️
run: |
Expand Down Expand Up @@ -59,11 +56,6 @@ jobs:
echo "Directory 'examples' does not exist."
fi
# - name: Setup Docs Deployment 🚀
# run: |
# git config --global user.name "github-actions[bot]"
# git config --global user.email "github-actions[bot]@users.noreply.github.com"

- name: Build Docs Website 🌐
run: |
git config --global user.name "github-actions[bot]"
Expand Down

0 comments on commit 6ba6f8e

Please sign in to comment.