Skip to content

Test and Deploy

Test and Deploy #957

Workflow file for this run

on:
push:
pull_request:
workflow_dispatch:
workflow_run:
workflows: ["Sync Submodules"]
types: [completed]
branches:
- 'main'
name: Test and Deploy
jobs:
TestAndDeploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
with:
submodules: recursive
- name: Run Zola
uses: shalzz/[email protected]
env:
BUILD_ONLY: true
- name: Deploy 🚀
uses: JamesIves/[email protected]
if: success() && github.event_name != 'pull_request'
with:
branch: gh-pages
folder: public