Skip to content

Commit c40d5b5

Browse files
Update post to bluesky action (#1133)
* Update README.md (#1131) * Update postBlueSky.yml * Revert "Update README.md (#1131)" (#1132) This reverts commit e97091d.
1 parent 9f9b999 commit c40d5b5

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

.github/workflows/postBlueSky.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,11 @@ jobs:
3131
runs-on: ubuntu-latest
3232
steps:
3333

34-
# # Add this step before the 'Post Merged PR to BlueSky' step
35-
# - name: Debug Secret Availability
36-
# run: |
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 }}
34+
# Add this step before the 'Post Merged PR to BlueSky' step
35+
- name: Debug Secret Availability
36+
run: |
37+
echo "BSKY_IDENTIFIER is set: ${{ secrets.BSKY_IDENTIFIER != '' }}"
38+
echo "BSKY_PASSWORD is set: ${{ secrets.BSKY_PASSWORD != '' }}"
4239
4340
- name: Post Merged PR to BlueSky
4441
uses: myConsciousness/bluesky-post@v5
@@ -47,8 +44,8 @@ jobs:
4744
text: ${{ format('{0} by {1}', github.event.pull_request.title, github.event.pull_request.user.login) }}
4845
# Use the PR's HTML URL for the link preview
4946
link-preview-url: ${{ github.event.pull_request.html_url }} # Use html_url, it's more standard
50-
identifier: $BSKY_IDENTIFIER
51-
password: $BSKY_PASSWORD
47+
identifier: ${{ secrets.BSKY_IDENTIFIER }}
48+
password: ${{ secrets.BSKY_PASSWORD }}
5249
env:
5350
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
5451
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}
@@ -59,6 +56,13 @@ jobs:
5956
if: github.event_name == 'workflow_dispatch'
6057
runs-on: ubuntu-latest
6158
steps:
59+
60+
# Add this step before the 'Post Merged PR to BlueSky' step
61+
- name: Debug Secret Availability
62+
run: |
63+
echo "BSKY_IDENTIFIER is set: ${{ secrets.BSKY_IDENTIFIER != '' }}"
64+
echo "BSKY_PASSWORD is set: ${{ secrets.BSKY_PASSWORD != '' }}"
65+
6266
- name: Post Manually to BlueSky
6367
uses: myConsciousness/bluesky-post@v5
6468
with:

0 commit comments

Comments
 (0)