Skip to content

Merge pull request #65 from PRO100BYTE/dependabot/npm_and_yarn/follow… #50

Merge pull request #65 from PRO100BYTE/dependabot/npm_and_yarn/follow…

Merge pull request #65 from PRO100BYTE/dependabot/npm_and_yarn/follow… #50

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [ "master" ]
workflow_dispatch:
env:
GENERATE_SOURCEMAP: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.PUBLISH_TOKEN }}
- run : npm i
shell: bash
- run : npm ci
shell: bash
- run : npm run build
shell: bash
- run : git config user.name github-actions
shell: bash
- run : git config user.email [email protected]
shell: bash
- run : git --work-tree build add --all
shell: bash
- run : git remote set-url origin https://x-access-token:${{ secrets.PUBLISH_TOKEN }}@github.com/${{ github.repository }}
shell: bash
- run : git commit -m "Automatic Build and Deploy run by GitHub Actions"
shell: bash
- run : git push origin HEAD:gh-pages --force
shell: bash