mirror of
https://github.com/revanced/revanced-documentation.git
synced 2025-04-30 04:54:25 +02:00
build: use payload repository name
This commit is contained in:
parent
0ba907a2dc
commit
c27d642ebf
7
.github/workflows/update-documentation.yml
vendored
7
.github/workflows/update-documentation.yml
vendored
@ -2,18 +2,19 @@ name: Update documentation
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
repository_dispatch
|
repository_dispatch
|
||||||
|
types: [update-documentation]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Update documentation
|
name: Update documentation
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Update submodule
|
- name: Update submodule
|
||||||
run: git submodule update --recursive --remote repositories/${{ github.event.repository.full_name }}
|
run: git submodule update --recursive --remote repositories/${{ github.event.client_payload.repo }}
|
||||||
- name: Commit changes
|
- name: Commit changes
|
||||||
uses: EndBug/add-and-commit@v9
|
uses: EndBug/add-and-commit@v9
|
||||||
with:
|
with:
|
||||||
message: 'chore: update docs for ${{ github.event.repository.full_name }} to ${{github.event.client_payload.ref}}'
|
message: 'chore: update docs for ${{ github.event.client_payload.repo }} to ${{github.event.client_payload.ref}}'
|
||||||
default_author: ReVanced
|
default_author: ReVanced
|
||||||
|
Loading…
x
Reference in New Issue
Block a user