forked from linode/linode-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a076bab
commit 83808c8
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -90,11 +90,11 @@ jobs: | |
with: | ||
fetch-depth: 0 | ||
submodules: "recursive" | ||
ref: "static/docs" | ||
ref: "_documentation" | ||
|
||
- name: Create the documentation branch if it does not already exist | ||
if: "${{ steps.checkout-docs.outcome != 'success' }}" | ||
run: git switch --orphan static/docs | ||
run: git switch --orphan _documentation | ||
|
||
- name: Ensure any previous documentation for this branch is removed | ||
run: rm -rf "./${{ github.ref_name }}" | ||
|
@@ -121,7 +121,7 @@ jobs: | |
git config user.email "[email protected]"; | ||
git add .; | ||
git commit --allow-empty -m "Build ${{ github.ref_name }} from ${{ github.sha }}"; | ||
git push origin static/docs; | ||
git push origin _documentation; | ||
upload-release-asset: | ||
name: Upload Release Asset | ||
|