Update Changelog action to point to pestphp/docs

This commit is contained in:
Vaggelis Yfantis
2020-10-06 08:36:41 +02:00
parent 8057fe4bc2
commit e2c5d6d857

View File

@ -21,8 +21,8 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
token: ${{ secrets.CHANGELOG_KEY }} token: ${{ secrets.CHANGELOG_KEY }}
repository: pestphp/website repository: pestphp/docs
path: pestphp-website path: pestphp-docs
ref: master ref: master
- name: Read CHANGELOG.md - name: Read CHANGELOG.md
id: package id: package
@ -45,7 +45,7 @@ jobs:
Next section: [Upgrade Guide →](/docs/upgrade-guide) Next section: [Upgrade Guide →](/docs/upgrade-guide)
write-mode: overwrite write-mode: overwrite
- name: Copy CHANGELOG to website repository - name: Copy CHANGELOG to website repository
run: cp CHANGELOG.md pestphp-website/changelog.md run: cp CHANGELOG.md pestphp-docs/changelog.md
- name: Create Pull Request - name: Create Pull Request
uses: peter-evans/create-pull-request@v2 uses: peter-evans/create-pull-request@v2
with: with:
@ -55,4 +55,4 @@ jobs:
committer: GitHub Action <noreply@github.com> committer: GitHub Action <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
title: 'Update changelog.md' title: 'Update changelog.md'
path: ./pestphp-website path: ./pestphp-docs