Skip to content

Added weekly build of site #94

Added weekly build of site

Added weekly build of site #94

Workflow file for this run

name: Deploy Site
on:
push:
branches: [ "main" ]
workflow_dispatch:
schedule:
- cron: "0 0 * * 1"
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build docker images
run: docker build -t builder .
- name: Build site
run: docker run -v $PWD/gh-pages:/out builder
- name: Setup Pages
uses: actions/configure-pages@v1
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './gh-pages'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4