This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
Fixed #4 - incorrect image suffix loading for ksk #69
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: Bundle and Publish Sources | |
on: | |
push: | |
branches: | |
- '**' | |
- '!main' | |
jobs: | |
build: | |
name: Bundle and Publish Sources | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x] | |
steps: | |
- name: Checkout Branch | |
uses: actions/checkout@v2 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v2.1.2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Extract branch name | |
shell: bash | |
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" | |
id: extract_branch | |
- name: Checkout existing bundles | |
uses: actions/checkout@v2 | |
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/github-pages-deploy-action@4.1.0 | |
with: | |
branch: gh-pages | |
folder: bundles |