Skip to content

Commit

Permalink
Merge pull request #2274 from ty-dc/release-v0.6
Browse files Browse the repository at this point in the history
opt ci: fix incorrect packaging
  • Loading branch information
cyclinder authored Aug 30, 2023
2 parents 0c6edee + 919fe3e commit 9454a81
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/call-release-doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,10 @@ jobs:
rm -rf ./mkdocs.yml
git checkout -f ${{ env.MERGE_BRANCH }}
if ${{ env.SUBMIT != 'true' }}; then
rm -rf ./changelogs
tar -czvf site.tar.gz * && mv site.tar.gz ./docs/
cd docs
rm -rf ./charts
rm -rf ./index.yaml
tar -czvf site.tar.gz * && mv site.tar.gz ../docs/
ls
ls ./docs
echo "Automatic release, offline package ready"
Expand All @@ -121,7 +123,7 @@ jobs:
- name: Upload Artifact
uses: actions/[email protected]
if: ${{ env.SUBMIT != 'true' || env.SKIP_ALL_JOB != 'true' }}
if: ${{ env.SUBMIT != 'true' && env.SKIP_ALL_JOB != 'true' }}
with:
name: website_package_artifact
path: docs/site.tar.gz
Expand All @@ -141,6 +143,6 @@ jobs:
delete-branch: true
base: ${{ env.MERGE_BRANCH }}
signoff: true
token: ${{ secrets.WELAN_PAT }}
token: ${{ secrets.GITHUB_TOKEN }}
labels: ${{ env.PR_LABEL }}
reviewers: ${{ env.PR_REVIWER }}
2 changes: 1 addition & 1 deletion .github/workflows/call-update-githubpages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ jobs:
delete-branch: true
base: ${{ env.MERGE_BRANCH }}
signoff: true
token: ${{ secrets.WELAN_PAT }}
token: ${{ secrets.GITHUB_TOKEN }}
labels: ${{ env.PR_LABEL }}

0 comments on commit 9454a81

Please sign in to comment.