Skip to content

AsuraScans | Fix summary not always being available #44

AsuraScans | Fix summary not always being available

AsuraScans | Fix summary not always being available #44

Workflow file for this run

name: Bundle and Publish Sources
on:
push:
branches:
- '**'
- '!main'
jobs:
build:
name: Bundle and Publish Sources
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout Branch
uses: actions/[email protected]
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: Extract branch name
shell: bash
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
id: extract_branch
- name: Checkout existing bundles
uses: actions/[email protected]
continue-on-error: true
with:
ref: gh-pages
path: bundles
- run: npm install
- run: npm run bundle -- --folder=${{ steps.extract_branch.outputs.branch }}
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: bundles