From 1a02b9486e9b55265ea8d5b8e21dacc56d53e1f3 Mon Sep 17 00:00:00 2001 From: Johan Brook Date: Fri, 18 Oct 2024 23:10:22 +0200 Subject: [PATCH] Remove redundant --- .github/workflows/deploy.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e0d85521c..433abe800 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -133,13 +133,11 @@ jobs: env: MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }} - - name: Write to log and clear todo + - name: Write to log run: | id=$(cat $todo_file | jq -r ".id") echo $id >> $log_file cat $log_file - rm -rf $todo_file - echo "$todo_file cleared" env: todo_file: ${{ env.MASTODON_TODO }} log_file: ${{ env.MASTODON_LOG_FILE }}