Skip to content

Commit

Permalink
Fix types.md update in the release workflow (#16140)
Browse files Browse the repository at this point in the history
  • Loading branch information
JLHwung committed Nov 29, 2023
1 parent da7dc40 commit 13aae36
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ jobs:
continue-on-error: true
uses: actions/upload-artifact@v3
with:
name: babel-types.md
name: babel-types-docs
path: build/types.md
retention-days: 3

Expand Down Expand Up @@ -300,10 +300,11 @@ jobs:
- name: Download babel-types docs
uses: actions/download-artifact@v3
with:
name: babel-types.md
name: babel-types-docs
# Downloaded as ./docs/types.md
path: docs
- name: Commit Babel website changes
run: |
mv babel-types.md docs/types.md
git config user.name "Babel Bot"
git config user.email "babel-bot@users.noreply.github.com"
git checkout -b update-types-docs
Expand Down

0 comments on commit 13aae36

Please sign in to comment.