diff --git a/.github/workflows/postBlueSky.yml b/.github/workflows/postBlueSky.yml index 67704736..89021bbd 100644 --- a/.github/workflows/postBlueSky.yml +++ b/.github/workflows/postBlueSky.yml @@ -31,14 +31,11 @@ jobs: runs-on: ubuntu-latest steps: - # # Add this step before the 'Post Merged PR to BlueSky' step - # - name: Debug Secret Availability - # run: | - # echo "BSKY_IDENTIFIER is set: ${{ BSKY_IDENTIFIER != '' }}" - # echo "BSKY_PASSWORD is set: ${{ BSKY_PASSWORD != '' }}" - # env: - # BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }} - # BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }} + # Add this step before the 'Post Merged PR to BlueSky' step + - name: Debug Secret Availability + run: | + echo "BSKY_IDENTIFIER is set: ${{ secrets.BSKY_IDENTIFIER != '' }}" + echo "BSKY_PASSWORD is set: ${{ secrets.BSKY_PASSWORD != '' }}" - name: Post Merged PR to BlueSky uses: myConsciousness/bluesky-post@v5 @@ -47,8 +44,8 @@ jobs: text: ${{ format('{0} by {1}', github.event.pull_request.title, github.event.pull_request.user.login) }} # Use the PR's HTML URL for the link preview link-preview-url: ${{ github.event.pull_request.html_url }} # Use html_url, it's more standard - identifier: $BSKY_IDENTIFIER - password: $BSKY_PASSWORD + identifier: ${{ secrets.BSKY_IDENTIFIER }} + password: ${{ secrets.BSKY_PASSWORD }} env: BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }} BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }} @@ -59,6 +56,13 @@ jobs: if: github.event_name == 'workflow_dispatch' runs-on: ubuntu-latest steps: + + # Add this step before the 'Post Merged PR to BlueSky' step + - name: Debug Secret Availability + run: | + echo "BSKY_IDENTIFIER is set: ${{ secrets.BSKY_IDENTIFIER != '' }}" + echo "BSKY_PASSWORD is set: ${{ secrets.BSKY_PASSWORD != '' }}" + - name: Post Manually to BlueSky uses: myConsciousness/bluesky-post@v5 with: