Skip to content

Commit

Permalink
auto build extension on push on master
Browse files Browse the repository at this point in the history
  • Loading branch information
jayam04 committed Jan 28, 2024
1 parent 9dc7eea commit ed7bb1c
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-and-update-extension.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build and Push

on:
push:
branches:
- master

jobs:
build_and_push:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: 14

- name: Run build script
run: |
scripts/create_build.sh
- name: Commit and push changes
run: |
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor }}@users.noreply.github.com"
git add -A
git commit -m "Create latest build"
git push

0 comments on commit ed7bb1c

Please sign in to comment.