Skip to content

Test and Deploy

Test and Deploy #983

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/zola-deploy-action@v0.16.1-1
env:
BUILD_ONLY: true
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.5
if: success() && github.event_name != 'pull_request'
with:
branch: gh-pages
folder: public