Skip to content

Commit

Permalink
ci(bianbu test): now replacing credential placeholders from action se…
Browse files Browse the repository at this point in the history
…crets
  • Loading branch information
255doesnotexist committed Sep 13, 2024
1 parent a6fbd4f commit 4953cd2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/lintestor_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,18 @@ jobs:
ls -l # 展示文件结构
cd ../lintestor # 回到项目目录
ls -l # 再次展示文件结构
- name: Setup Bianbu remote credentials with ACTIONS SECRETs
env:
BIANBU_IP: ${{ secrets.BIANBU_IP }}
BIANBU_PORT: ${{ secrets.BIANBU_PORT }}
BIANBU_USERNAME: ${{ secrets.BIANBU_USERNAME }}
BIANBU_PASSWORD: ${{ secrets.BIANBU_PASSWORD }}
run: |
sed -i "s/{BIANBU_IP}/${BIANBU_IP}/" ./bianbu/config.toml
sed -i "s/{BIANBU_PORT}/${BIANBU_PORT}/" ./bianbu/config.toml
sed -i "s/{BIANBU_USERNAME}/${BIANBU_USERNAME}/" ./bianbu/config.toml
sed -i "s/{BIANBU_PASSWORD}/${BIANBU_PASSWORD}/" ./bianbu/config.toml
- name: Run Lintestor
run: |
Expand Down

0 comments on commit 4953cd2

Please sign in to comment.