Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KTools2202 authored Jun 29, 2024
1 parent 3df47df commit e9ca01d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ jobs:
TRIGGER_MESSAGE_FILE: $GITHUB_WORKSPACE/trigger_message.env
run: |
echo "GITHUB_WORKSPACE is $GITHUB_WORKSPACE" # Debugging: Print GITHUB_WORKSPACE
# Ensure directory exists and create file
mkdir -p $GITHUB_WORKSPACE
touch $TRIGGER_MESSAGE_FILE
echo "Creating trigger message file..."
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
echo "TRIGGER_MESSAGE=\"This workflow was triggered manually by ${{ github.actor }}.\"" > $TRIGGER_MESSAGE_FILE
Expand Down

0 comments on commit e9ca01d

Please sign in to comment.