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 d4aefe6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/run-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,24 @@ 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 add LICENSE
git push
git commit -m "Automated build on ${{ github.ref }}"
git push origin build

0 comments on commit d4aefe6

Please sign in to comment.