fix scraped diff modal #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Publish Plugins and Themes | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- .github/workflows/** | |
- Plugins/** | |
- Themes/** | |
- build-config.json | |
- build.js | |
permissions: | |
contents: write | |
jobs: | |
build_and_publish: | |
name: Build and Publish Plugins and Themes | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: "0" | |
- name: Install node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: Install repository dependencies | |
run: npm ci | |
- name: Build plugins and themes | |
run: npm run build-all-dist | |
- name: Publish to dist branch | |
uses: s0/git-publish-subdir-action@develop | |
env: | |
REPO: self | |
BRANCH: dist | |
FOLDER: "dist" | |
MESSAGE: "built for {sha}" | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |