Skip to content

Put release files in dist/ back #10

Put release files in dist/ back

Put release files in dist/ back #10

Workflow file for this run

name: Update website
on:
push:
branches:
- test-ci
permissions:
contents: write
jobs:
update-website:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout snowball
uses: actions/checkout@v3
with:
repository: snowballstem/snowball
path: snowball
- name: Checkout snowball-data
uses: actions/checkout@v3
with:
repository: snowballstem/snowball-data
path: snowball-data
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libipc-run-perl libtemplate-perl graphviz closure-compiler pngcrush python3-pygments
- name: Build snowball
run: |
mv snowball ../snowball
mv snowball-data ../snowball-data
cd ../snowball
make -sj2
- name: Generate
run: |
mkdir ../snowballstem.github.io
./generate
mv dist ../snowballstem.github.io
cd ../snowballstem.github.io
find . -name '*.tt' -delete
rm js/*-stemmer.js
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ../snowballstem.github.io