Skip to content

Merge pull request #791 from centrapay/migration-api-keys-guide #739

Merge pull request #791 from centrapay/migration-api-keys-guide

Merge pull request #791 from centrapay/migration-api-keys-guide #739

Workflow file for this run

name: Build and deploy Jekyll site to GitHub Pages
on:
push:
branches:
- master
jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
working-directory: legacy
- uses: actions/cache@v1
with:
path: legacy/vendor/bundle
key: ${{ runner.os }}-gems-v2-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gems-v2
- run: gem install bundler
- uses: actions/setup-node@v3
with:
node-version: 18
- run: yarn install --frozen-lock-file
- run: yarn lint
- run: yarn test
- run: ./build.sh --mode production
- uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.JEKYLL_PAT }}
BRANCH: gh-pages
FOLDER: _site