Skip to content

reorganize view settings #21

reorganize view settings

reorganize view settings #21

Workflow file for this run

name: Bundle and deploy to the main branch
on:
push:
branches: [develop]
paths: [evolve_analytics.meta.js]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout develop
uses: actions/checkout@v4
- name: Get version
run: |
echo "VERSION=$(sed -n 's/\/\/ *@version *//p' evolve_analytics.meta.js)" >> $GITHUB_ENV
- name: Checkout main
uses: actions/checkout@v4
with:
ref: main
path: build
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 22.x
- name: Build package
run: |
npm install
npm run build
cp evolve_analytics.meta.js build/
- name: Make Commit
uses: EndBug/add-and-commit@v9
with:
cwd: build
fetch: false
default_author: github_actions
message: "${{ env.VERSION }}"
add: "."