Skip to content

Commit f4d8fb7

Browse files
committed
update workflow bitexport file
1 parent ef96123 commit f4d8fb7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/bitexport.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ jobs:
1717
env:
1818
BIT_TOKEN: ${{ secrets.BIT_TOKEN }}
1919
BIT_COLLECTION: ${{ secrets.BIT_COLLECTION }}
20-
GH_USERNAME: ${{ github.actor }}
2120
# Steps represent a sequence of tasks that will be executed as part of the job
2221
steps:
2322
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2423
- uses: actions/checkout@v2
24+
env:
25+
GH_USERNAME: ${{ github.actor }}
2526

2627
# Install dependencies and build app
2728
- name: Install Dependencies
@@ -46,7 +47,8 @@ jobs:
4647
- name: Commit changes
4748
run: |
4849
echo ${{ toJson(steps.bitexport) }}
49-
echo ${{ toJson(github) }}
50+
echo ${{ toJson(github.actor) }}
51+
echo $GH_USERNAME
5052
git config --global user.name '$GH_USERNAME'
5153
git config --global user.email '$GH_USERNAME@users.noreply.github.com'
5254
git commit -am "Automated commit"

0 commit comments

Comments
 (0)