Skip to content

Commit

Permalink
Remove outside BUILD_TOKEN and add more cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tsdicloud committed Aug 17, 2023
1 parent fd38a8b commit efa13de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/nmc-custom-server-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ env:
/build/
/config/
/src/**/*.js
/apps/**/src/**/*.js
/core/src/**/*.js
/themes/example/
/vendor-bin/
/.devcontainer/
Expand Down Expand Up @@ -66,7 +68,7 @@ jobs:
env:
BUILD_USER: ${{ github.actor }}
BUILD_EMAIL: ${{ github.actor }}@users.noreply.github.com
BUILD_TOKEN: ${{ secrets.BUILD_TOKEN || secrets.GITHUB_TOKEN }}
BUILD_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:

- name: Fetch custom assembly
Expand All @@ -78,7 +80,7 @@ jobs:
fetch-depth: 0
token: ${{ env.BUILD_TOKEN }}

- name: Fetch custom assembly
- name: Get stable information
id: checkout_stable
run: |
# set user in case commits are needed
Expand Down

0 comments on commit efa13de

Please sign in to comment.