Skip to content

Latest commit

 

History

History
68 lines (43 loc) · 4.33 KB

README.md

File metadata and controls

68 lines (43 loc) · 4.33 KB

Automation

This repository serves purpose of consolidation of various automated tasks we run.

Rights to this repository gives (indirectly) permissions required by actions themselves. Write permission gives person complete control since they can just change workflows to do what ever they want.

Status

Project formatting check Verify Formatting

Job statuses:

workflow description latest schedule latest dispatch
publish-website.yaml Publish website source Publish Website Publish Website
publish-system.yaml Publish system (backend) source --- Publish System
publish-wiki.yaml Deploy wiki content to server Publish Wiki Publish Wiki

Running Actions Manually

Actions could be ran via web interface - see Actions and GitHub's documentation

Alternatively you could use github cli utility

Publish Website

To publish website and deploy both testing and production version run:

$ gh workflow run publish-website.yaml

This task is also ran by cron every day at 10:00 and 22:00 UTC.

Publish System (backend)

To publish backend system run:

$ gh workflow run publish-system.yaml

Publish Wiki

Deploy new wiki version (from main branch) to the server:

$ gh workflow run publish-wiki.yaml

This task is also ran by cron every day at 01:30 UTC.

Nix

This project defines shell.nix which could be used as following:

$ nix-shell --run 'gh workflow run publish-wiki.yaml'

or you can simply enter interactive shell from which you can run all the gh commands:

$ nix-shell