ci: allow doc updates without PR (#140)
* ci: allow doc updates without PR * ci: remove redundant `permissions` config
This commit is contained in:
parent
e45a44e26e
commit
772bf7c2f9
1 changed files with 2 additions and 4 deletions
6
.github/workflows/update-docs.yml
vendored
6
.github/workflows/update-docs.yml
vendored
|
@ -12,15 +12,13 @@ jobs:
|
||||||
update:
|
update:
|
||||||
name: Run update
|
name: Run update
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
# we only want this running on our repo
|
# we only want this running on our repo
|
||||||
if: github.repository == 'catppuccin/nix'
|
if: github.repository == 'catppuccin/nix'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.PUSH_TOKEN }}
|
||||||
|
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v26
|
uses: cachix/install-nix-action@v26
|
||||||
|
|
Loading…
Reference in a new issue