Skip to content

Commit

Permalink
更新環境變數
Browse files Browse the repository at this point in the history
  • Loading branch information
Wcc723 committed Sep 15, 2023
1 parent b318204 commit d81f755
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/pm2-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
- name: Create .env file
run: |
echo ENV_VARIABLE=${{ secrets.MY_ENV_VARIABLE }} >> .env
echo ENV_VARIABLE=${{ secrets.ENV_VARIABLE }} >> .env
echo PORT=${{ secrets.ENV_PORT }} >> .env
# 然後再執行 rsync 來將 .env 文件傳輸到虛擬主機

- name: 更新 known_hosts 文件 # 步驟的名稱
Expand Down

0 comments on commit d81f755

Please sign in to comment.