Skip to content

Commit

Permalink
Add readme to build process
Browse files Browse the repository at this point in the history
  • Loading branch information
koerismo committed Aug 4, 2023
1 parent 79867a5 commit 6e4c94b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/run-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,23 @@ jobs:
npm run build
npm run build:csgo
- name: Copy files to dist
run: cp LICENSE README.md dist

- name: Configure git
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
git fetch --all
git checkout --track origin/build
- name: Copy files
run: cp -r ./dist/* ./
- name: Copy dist to root
run: cp -rf ./dist/* ./

- name: Commit files
run: |
git add *.d.ts
git add README.md
git push
git commit -m "Automated build on ${{ github.ref }}"
git push origin build

0 comments on commit 6e4c94b

Please sign in to comment.