ci: allow doc updates without PR (#140)

* ci: allow doc updates without PR

* ci: remove redundant `permissions` config
This commit is contained in:
Hammy 2024-04-22 19:28:51 +01:00 committed by GitHub
parent e45a44e26e
commit 772bf7c2f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,15 +12,13 @@ jobs:
update:
name: Run update
runs-on: ubuntu-latest
permissions:
contents: write
# we only want this running on our repo
if: github.repository == 'catppuccin/nix'
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PUSH_TOKEN }}
- name: Install Nix
uses: cachix/install-nix-action@v26