Update projects.yml #44
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: After merging PR | |
on: | |
push: | |
branches: | |
- master | |
- main | |
- build_test | |
# Allow to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
devel-tag-push: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Bundler | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.0 # Not needed with a .ruby-version file | |
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | |
- name: Install Build deps | |
run: | | |
sudo apt install -y libyaml-dev | |
- name: Install Binnacle | |
run: | | |
curl -fsSL https://github.com/kadalu/binnacle/releases/latest/download/install.sh | sudo bash -x | |
binnacle --version | |
- name: Generate | |
run: | | |
binnacle -v docs-downloader.t | |
- name: Build Site | |
run: | | |
make site-build-prod | |
- name: Deploy | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./output | |