Skip to content

Update info

Update info #31

Workflow file for this run

name: Build distributable version
on:
push:
branches:
- master
jobs:
build:
name: Build and push
runs-on: ubuntu-latest
steps:
- name: Checkout git repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Config
run: |
git config --local user.email "[email protected]"
git config --local user.name "xpple"
- name: Remove unwanted files
run: rm -rf .github .idea .vscode node_modules .gitignore package.json package-lock.json tsconfig.json
- name: Commit
run: |
git add -A -f
git commit -a -m "Update build branch"
- name: Publish
uses: ad-m/github-push-action@master
with:
force: true
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: dist