Skip to content

Commit

Permalink
LinkedIn hates parentheses. (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthegeek authored Apr 16, 2024
1 parent caf11bf commit 290f59b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/relinkedin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Fetch the latest successful run ID from linkedin workflow
id: fetch_run_id
shell: pwsh
run: |
$headers = @{
Expand All @@ -32,7 +31,8 @@ jobs:
$run_id = $response.workflow_runs[0].id.ToString().Trim()
echo "Latest run ID: $run_id"
echo "RUN_ID=$run_id" | Out-File -FilePath $env:GITHUB_ENV -Append
- name: List artifacts for a workflow run
- name: Grab the artifact ID from that run
shell: pwsh
run: |
$headers = @{
"Authorization" = "Bearer ${{ secrets.GITHUB_TOKEN }}"
Expand All @@ -45,8 +45,7 @@ jobs:
Write-Output "Artifact Name: $($_.name), Artifact ID: $($_.id)"
echo "ARTIFACT_ID=$($_.id)" | Out-File -FilePath $env:GITHUB_ENV -Append
}
shell: pwsh
- name: Load post ID.
- name: Download post ID artifact
shell: pwsh
run: |
$headers = @{
Expand Down
2 changes: 1 addition & 1 deletion dslc-relink.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (attr(li_post_id, "week") != lubridate::week(lubridate::now())) {

attr(li_post_id, "week") <- NULL

repost_msg <- "It's #TidyTuesday y'all! Show us what you made on our Slack at https://dslc.io/join (find the chat-tidytuesday channel)!\n\n#RStats #PyData #JuliaLang #DataViz #DataScience #DataAnalytics #data #tidyverse #R4DS"
repost_msg <- "It's #TidyTuesday y'all! Show us what you made on our Slack at https://dslc.io/ -- find the chat-tidytuesday channel!\n\n#RStats #PyData #JuliaLang #DataViz #DataScience #DataAnalytics #data #tidyverse #R4DS"
author_dslc <- "urn:li:organization:65437630"

reshare_req <- li_base |>
Expand Down
2 changes: 1 addition & 1 deletion runner-li.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ status_msg <- status_msg |>
paste(
"\nNew to #TidyTuesday?",
"Welcome to the weekly social data project. All are welcome!",
"⬡ The event is organized by the Data Science Learning Community (https://dslc.io).",
"⬡ The event is organized by the Data Science Learning Community https://dslc.io",
"⬡ For the latest datasets, follow DSLC on Mastodon or LinkedIn",
sep = "\n"
)
Expand Down

0 comments on commit 290f59b

Please sign in to comment.