Skip to content

Commit

Permalink
shipit 🕵️‍♀️ 🚢 2024-04-02 01:05:01 AM EDT 😱 ⤴️
Browse files Browse the repository at this point in the history
  • Loading branch information
reggi committed Apr 2, 2024
1 parent b2623f9 commit 870a9a3
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/create-speaker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,25 +70,26 @@ jobs:
echo "$property_name: $property_value" >> ./src/content/speakers/${{ steps.slug.outputs.slug }}.md
fi
}
# Check if githubUsername is not empty
if [ -n "${{ steps.define.outputs.githubUsername }}" ]; then
if [ -n "${{ steps.define.outputs.githubUsername }}" ]; then
githubUsername=$(echo '${{ steps.define.outputs.githubUsername }}' | sed 's/@//g')
echo "githubUsername: $githubUsername" >> ./src/content/speakers/${{ steps.slug.outputs.slug }}.md
fi
add_url("linkedInProfileURL", "${{ steps.define.outputs.linkedInProfileURL }}")
add_url("profileImage", "${{ steps.define.outputs.profileImage }}")
# Corrected function calls
add_url "linkedInProfileURL" "${{ steps.define.outputs.linkedInProfileURL }}"
add_url "profileImage" "${{ steps.define.outputs.profileImage }}"
# Check if name is not empty
if [ -n "${{ steps.define.outputs.name }}" ]; then
echo "name: ${{ steps.define.outputs.name }}" >> ./src/content/speakers/${{ steps.slug.outputs.slug }}.md
if [ -n "${{ steps.define.outputs.name }}" ]; then
echo "name: ${{ steps.define.outputs.name }}" >> ./src/content/speakers/${{ steps.slug.outputs.slug }}.md
fi
add_url("website", "${{ steps.define.outputs.website }}")
add_url "website" "${{ steps.define.outputs.website }}"
echo "---" >> ./src/content/speakers/${{ steps.slug.outputs.slug }}.md
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
Expand Down

0 comments on commit 870a9a3

Please sign in to comment.