Skip to content

Update build_deploy_to_ghp.yml #7

Update build_deploy_to_ghp.yml

Update build_deploy_to_ghp.yml #7

# This is a basic workflow to build a FHIR-IG and publish the output (docs folder)
# on Git Hub Pages everytime it is pushed to the main branch
name: Build and Deploy
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: FHIR IG Action # action from the GitHub Marketplace
uses: qligier/[email protected].
with:
sushi: "3.2.0"
- name: Deploy to GitHub Pages # action from the GitHub Marketplace
uses: JamesIves/[email protected]
with:
folder: docs # deploy from the docs from the prior step