Skip to content

Commit

Permalink
test6
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavin-OP committed Nov 26, 2024
1 parent 24b8d2a commit bc43a25
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
run: npm install

- name: Build project
env:
REACT_APP_GITHUB_TOKEN: ${{ secrets.REACT_APP_GITHUB_TOKEN }}
# env:
# REACT_APP_GITHUB_TOKEN: ${{ secrets.REACT_APP_GITHUB_TOKEN }}
# CI: false
run: npm run build

- name: Remove sensitive information
run: find ./build -type f -exec sed -i 's/${{ secrets.REACT_APP_GITHUB_TOKEN }}/[REDACTED]/g' {} +
# - name: Remove sensitive information
# run: find ./build -type f -exec sed -i 's/${{ secrets.REACT_APP_GITHUB_TOKEN }}/[REDACTED]/g' {} +

- name: Verify build directory
run: ls -la ./build
Expand Down

0 comments on commit bc43a25

Please sign in to comment.