Merge pull request #180 from manosetro/patch-3 #1084
This file contains hidden or 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 and Deploy | |
on: | |
push: | |
branches: | |
- gh-page | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Set up Ruby 2.7.8 💎 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 2.7.8 | |
- name: Install and Build 🔧 | |
run: | | |
make install-deb | |
make build | |
- name: Deploy 🚀 | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: _site | |
publish_branch: master # deploying branch |