Skip to content

Merge pull request #543 from worldbank/harvest-20230803 #1476

Merge pull request #543 from worldbank/harvest-20230803

Merge pull request #543 from worldbank/harvest-20230803 #1476

name: Build and deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
env:
WEBLATE_API_TOKEN: ${{ secrets.WEBLATE_API_TOKEN }}
steps:
- uses: actions/checkout@v1
- name: Set up Ruby 2.6
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.6"
- name: Set up Node 10.x
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install dependencies
run: make install
- name: Build the site
run: make publish
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
ACCESS_TOKEN: ${{ secrets.token }}
BRANCH: gh-pages
FOLDER: www/_site
CLEAN: true