aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/main.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index dcb082eb..30508f4c 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -13,10 +13,8 @@ jobs:
key: ${{ secrets.KEY_ED25519 }}
port: ${{ secrets.PORT }}
script: |
- # if [ -z "$GEMINI_API_KEY" ]; then
- # export GEMINI_API_KEY=${{ secrets.GEMINI_API_KEY }}
- # fi
- # Add to /home/ubuntu/.shifooenv
grep -qxF 'GEMINI_API_KEY=${{ secrets.GEMINI_API_KEY }}' /home/ubuntu/.shifooenv || echo 'GEMINI_API_KEY=${{ secrets.GEMINI_API_KEY }}' >> /home/ubuntu/.shifooenv
- cat /home/ubuntu/deploy.sh
+ # Print the environment variables - test purpose
+ cat /home/ubuntu/.shifooenv
+ echo "Deploying the code"
sh /home/ubuntu/deploy.sh