Skip to content

Commit 5924521

Browse files
committed
Add .evnfile
1 parent 7e8b97d commit 5924521

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
- name: Build
2929
run: make build
3030

31+
- name: Create .env file
32+
if: github.ref == 'refs/heads/main'
33+
run: echo "CODEBATTLE_AUTH_TOKEN=${{ secrets.CODEBATTLE_AUTH_TOKEN }}" > .env
34+
3135
- name: Push tasks to public
3236
if: github.ref == 'refs/heads/main'
3337
run: make push-public

0 commit comments

Comments
 (0)