Skip to content

Commit c07d900

Browse files
authored
Merge pull request #2 from r03ert0/main
save dist locally
2 parents 49db9b8 + 994fc29 commit c07d900

File tree

6 files changed

+40
-15906
lines changed

6 files changed

+40
-15906
lines changed

.github/workflows/build-release.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,15 @@ jobs:
3030
- run: gh release create -t $(jq -r ".version" package.json) $(jq -r ".version" package.json) ./dist/*.js
3131
env:
3232
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
- name: Commit new dist
34+
run: |
35+
git config --local user.email "github-actions-bot@noreply.github.com"
36+
git config --local user.name "github-actions-bot"
37+
ls
38+
git add ./dist/*.js
39+
git commit -m "new dist"
40+
- name: Push changes
41+
uses: ad-m/github-push-action@master
42+
with:
43+
github_token: ${{ secrets.GITHUB_TOKEN }}
44+
branch: ${{ github.ref }}

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ typings/
7878
# Next.js build output
7979
.next
8080

81-
# Nuxt.js build / generate output
82-
.nuxt
83-
dist
84-
8581
# Gatsby files
8682
.cache/
8783
# Comment in the public line in if your project uses Gatsby and *not* Next.js

dist/brainweb.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/brainweb.worker.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)