Skip to content

Commit 57ddf66

Browse files
Update postBlueSky.yml
1 parent c0a869f commit 57ddf66

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/postBlueSky.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ jobs:
3434
# Add this step before the 'Post Merged PR to BlueSky' step
3535
- name: Debug Secret Availability
3636
run: |
37-
echo "BSKY_IDENTIFIER is set: ${{ secrets.BSKY_IDENTIFIER != '' }}"
38-
echo "BSKY_PASSWORD is set: ${{ secrets.BSKY_PASSWORD != '' }}"
37+
echo "BSKY_IDENTIFIER is set: ${{ BSKY_IDENTIFIER != '' }}"
38+
echo "BSKY_PASSWORD is set: ${{ BSKY_PASSWORD != '' }}"
39+
env:
40+
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
41+
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}
3942

4043
- name: Post Merged PR to BlueSky
4144
uses: myConsciousness/bluesky-post@v5
@@ -44,8 +47,11 @@ jobs:
4447
text: ${{ format('{0} by {1}', github.event.pull_request.title, github.event.pull_request.user.login) }}
4548
# Use the PR's HTML URL for the link preview
4649
link-preview-url: ${{ github.event.pull_request.html_url }} # Use html_url, it's more standard
47-
identifier: ${{ secrets.BSKY_IDENTIFIER }}
48-
password: ${{ secrets.BSKY_PASSWORD }}
50+
identifier: ${{ BSKY_IDENTIFIER }}
51+
password: ${{ BSKY_PASSWORD }}
52+
env:
53+
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
54+
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}
4955

5056
# Job for posting when manually triggered
5157
post_manually:

0 commit comments

Comments
 (0)