mirror of https://github.com/docker/docs.git
Merge pull request #17092 from dvdksn/ci/fix-auto-publish
ci: fix auto-publish workflow
This commit is contained in:
commit
4f9c7dbbfa
|
@ -13,11 +13,17 @@ jobs:
|
||||||
if: github.repository_owner == 'docker'
|
if: github.repository_owner == 'docker'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
ref: published
|
||||||
|
- name: Reset published branch
|
||||||
|
run: |
|
||||||
|
git fetch origin main:main
|
||||||
|
git reset --hard main
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@5b4a9f6a9e2af26e5f02351490b90d01eb8ec1e5
|
uses: peter-evans/create-pull-request@5b4a9f6a9e2af26e5f02351490b90d01eb8ec1e5
|
||||||
with:
|
with:
|
||||||
delete-branch: false
|
delete-branch: false
|
||||||
branch: published
|
branch: published-update
|
||||||
commit-message: publish updates from main
|
commit-message: publish updates from main
|
||||||
labels: area/release
|
labels: area/release
|
||||||
title: publish updates from main
|
title: publish updates from main
|
||||||
|
|
Loading…
Reference in New Issue