Skip to content

Initial commit

Initial commit #4

Workflow file for this run

name: Zola on GitHub Pages
on:
push:
branches:
- main
jobs:
build:
permissions:
contents: read
pages: write
id-token: write
name: Publish site
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build and Deploy
uses: shalzz/[email protected]
env:
BUILD_ONLY: true
- name: Move Documentation
run: |
mv public/docs/developer/libical libical-old
mv public/apidocs public/docs/developer/libical
mv public/docs/developer/libical-glib libical-glib-old
mv public/libical-glib public/docs/developer/libical-glib
- name: Upload Artifact
uses: actions/upload-pages-artifact@v2
with:
# upload entire directory
path: 'public'
deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
steps:
- name: Deploy artifact
id: deployment
uses: actions/deploy-pages@v1