Add ability to manually trigger the workflow #19
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 and publish the protocol analysis | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
build_analysis: | |
name: Build protocol analysis | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[skip ci]')" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install SSH Key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.GUIDE_SSH_KEY }} | |
known_hosts: 'deepsymmetry.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMKq8T1IXQHNYLgO715YbxTXoVxEsJcha9h1lxyOXpa' | |
- name: Cache htmltest results | |
uses: actions/cache@v4 | |
with: | |
path: tmp/.htmltest | |
key: ${{ runner.os }}-htmltest | |
- name: Build and publish protocol analysis | |
env: | |
GUIDE_SSH_KEY: ${{ secrets.GUIDE_SSH_KEY }} | |
run: bash .github/scripts/build_guide.sh |