Skip to content

Commit 08652b8

Browse files
Merge pull request #42 from CreatorWorkflowsNow/pdf-workflow
Update pdfs-build-deployment.yml
2 parents 7d9bdd0 + 4b07788 commit 08652b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,14 @@ jobs:
7878
git add ./labs/telework-utah/downloads/telework-utah-lab.pdf
7979
git commit -m "Add generated PDFs"
8080
git push origin "new-pdf-branch-$current_time"
81+
echo "::set-output name=branch_name::new-pdf-branch-$current_time"
8182
8283
- name: Create Pull Request
8384
uses: peter-evans/create-pull-request@v3
8485
with:
8586
token: ${{ secrets.GITHUB_TOKEN }}
8687
base: source
87-
# Use the current date and time in the branch name
88-
branch: "new-pdf-branch-$current_time"
88+
branch: ${{ steps.create_branch.outputs.branch_name }}
8989
title: "Add generated PDFs"
9090
body: "This PR adds the newly generated PDFs."
9191

0 commit comments

Comments
 (0)