Skip to content

Merge branch '0.8' of https://github.com/CookieSylvia/cookies-extensi… #17

Merge branch '0.8' of https://github.com/CookieSylvia/cookies-extensi…

Merge branch '0.8' of https://github.com/CookieSylvia/cookies-extensi… #17

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/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Get branch name
id: branch-name
uses: tj-actions/branch-names@v7
- name: Checkout existing bundles
uses: actions/checkout@v3
continue-on-error: true
with:
ref: gh-pages
path: bundles
- run: npm install
- run: npm run bundle -- --folder=${{ steps.branch-name.outputs.current_branch }}
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: bundles