BW 1.1.8 release #17
Workflow file for this run
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: Deploy PR Preview | |
# Only run when a PR has the 'preview' label | |
on: | |
pull_request: | |
types: | |
- labeled | |
concurrency: preview-${{ github.ref }} | |
jobs: | |
build-and-deploy-preview: | |
if: github.event.label.name == 'preview' | |
runs-on: ubuntu-latest | |
container: sphinxdoc/sphinx | |
steps: | |
- name: Install git 🔧 | |
shell: bash | |
run: | | |
apt-get update | |
apt-get install -y git | |
- name: Checkout 🛎️ | |
uses: actions/[email protected] | |
with: | |
fetch-depth: 0 | |
- name: Install 🔧 | |
shell: bash | |
run: | | |
apt-get install -y graphviz rsync | |
pip3 install -r requirements.txt | |
- name: Build 🛠 | |
shell: bash | |
run: ./scripts/build.sh | |
- name: Deploy preview 🚀 | |
uses: rossjrw/pr-preview-action@v1 | |
with: | |
preview-branch: gh-pages | |
umbrella-dir: pr-preview | |
custom-url: developer.concordium.software | |
source-dir: ./build | |
action: deploy |