diff --git a/.github/workflows/update-documentation.yml b/.github/workflows/update-documentation.yml new file mode 100644 index 0000000..81b09ed --- /dev/null +++ b/.github/workflows/update-documentation.yml @@ -0,0 +1,19 @@ +name: Update documentation + +on: + repository_dispatch +jobs: + build: + name: Update documentation + runs-on: ubuntu-latest + + steps: + - name: Clone repository + uses: actions/checkout@v3 + - name: Update submodule + run: git submodule update --recursive --remote ${{ github.event.repository.full_name }} + - name: Commit changes + uses: EndBug/add-and-commit@v9 + with: + message: 'chore: update docs for ${{ github.event.repository.full_name }} to ${{github.event.client_payload.ref}}' + default_author: ReVanced \ No newline at end of file