Skip to content

Commit 5d69e43

Browse files
Update pdfs-build-deployment.yml
1 parent 4b07788 commit 5d69e43

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/pdfs-build-deployment.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,21 +71,20 @@ jobs:
7171
# Get the current date and time
7272
current_time=$(date +"%Y-%m-%d-%H-%M-%S")
7373
# Use the current date and time in the branch name
74-
git checkout -b "new-pdf-branch-$current_time"
74+
git checkout -b "new-pdf-branch"
7575
git add ./labs/collaborate/downloads/collaborate-lab.pdf
7676
git add ./labs/travelrequest/downloads/travelrequest-lab.pdf
7777
git add ./labs/deptsvc/downloads/deptsvc-lab.pdf
7878
git add ./labs/telework-utah/downloads/telework-utah-lab.pdf
7979
git commit -m "Add generated PDFs"
80-
git push origin "new-pdf-branch-$current_time"
81-
echo "::set-output name=branch_name::new-pdf-branch-$current_time"
80+
git push origin "new-pdf-branch"
8281
8382
- name: Create Pull Request
8483
uses: peter-evans/create-pull-request@v3
8584
with:
8685
token: ${{ secrets.GITHUB_TOKEN }}
8786
base: source
88-
branch: ${{ steps.create_branch.outputs.branch_name }}
87+
branch: "new-pdf-branch"
8988
title: "Add generated PDFs"
9089
body: "This PR adds the newly generated PDFs."
9190

0 commit comments

Comments
 (0)