forked from SonicCloudOrg/sonic-client-web
-
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.
test Signed-off-by: KamiYeung <[email protected]>
- Loading branch information
1 parent
21a282a
commit 33c87ee
Showing
1 changed file
with
17 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -45,7 +45,9 @@ jobs: | |
id: create_commit | ||
run: | | ||
# Copy built files | ||
rsync -a ./devtools-frontend/out/Default/gen/front_end ./public/ | ||
rsync -a ./devtools-frontend/out/Default/gen/front_end ./public/front_end | ||
# Create index.html | ||
cp ./public/devtools_app.html ./public/front_end/index.html | ||
# Create commit info with latest devtools-frontend commit | ||
current_date=$(date +"%d-%m-%Y") | ||
latest_commit_full=$(git ls-remote https://chromium.googlesource.com/devtools/devtools-frontend.git HEAD | cut -f 1) | ||
|
@@ -57,3 +59,17 @@ jobs: | |
echo "branch_name=${branch_name}" >> $GITHUB_OUTPUT | ||
echo "commit_title=${commit_title}" >> $GITHUB_OUTPUT | ||
echo "commit_description=${commit_description}" >> $GITHUB_OUTPUT | ||
- name: Create PR | ||
id: create_pr | ||
uses: peter-evans/create-pull-request@v5 | ||
with: | ||
branch: ${{ steps.create_commit.outputs.branch_name }} | ||
title: ${{ steps.create_commit.outputs.commit_title }} | ||
body: ${{ steps.create_commit.outputs.commit_description }} | ||
commit-message: ${{ steps.create_commit.outputs.commit_description }} | ||
author: GitHub <[email protected]> | ||
labels: auto-build | ||
branch-suffix: timestamp | ||
add-paths: | | ||
public/front_end |