docs: s/blockchain technology, //g #33
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: Build | |
on: | |
#schedule: | |
# * is a special character in YAML so you have to quote this string | |
#- cron: '30 0 * * *' | |
push: | |
branches: | |
- '**' # matches all branches | |
- '!gh-pages' # excludes gh-pages | |
jobs: | |
build-and-deploy: | |
name: Build and deploy (ruby-${{ matrix.ruby_version }}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby_version: ['3.2'] | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby_version }} | |
bundler-cache: true | |
- name: Install dependencies | |
run: | | |
make install | |
sudo npm install --global pug pug-cli | |
- name: Build | |
run: | | |
make build | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
if: github.ref == 'refs/heads/master' | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: _site # The folder the action should deploy. | |
git-config-name: GitHub Actions | |
git-config-email: [email protected] |