-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
397b3f3
commit 0b78aee
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,22 @@ jobs: | |
- name: Run build | ||
run: npm run build | ||
|
||
- name: Configure git | ||
run: | | ||
git config --global user.name "GitHub Actions" | ||
git config --global user.email "[email protected]" | ||
- name: Add and commit dist/nous-chat.js | ||
run: | | ||
git add dist/nous-chat.js | ||
git commit -m "Add dist/nous-chat.js from release build" | ||
git push origin HEAD:${{ github.ref }} | ||
- name: Push changes | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: git push | ||
|
||
- name: Upload dist/nous-chat.js to release | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
|