39 lines
646 B
Plaintext
39 lines
646 B
Plaintext
|
title: |md
|
||
|
# deploy w/ GitHub pages & actions
|
||
|
| {
|
||
|
shape: text
|
||
|
near: top-center
|
||
|
}
|
||
|
|
||
|
my laptop {
|
||
|
icon: https://icons.terrastruct.com/tech%2Flaptop.svg
|
||
|
near: center-left
|
||
|
}
|
||
|
|
||
|
my laptop -> GitHub.repo: git push
|
||
|
|
||
|
GitHub {
|
||
|
icon: https://icons.terrastruct.com/social%2F039-github.svg
|
||
|
|
||
|
repo <- runner.build job: pull
|
||
|
|
||
|
runner {
|
||
|
build job
|
||
|
deploy job
|
||
|
}
|
||
|
|
||
|
events api <- runner: long poll
|
||
|
|
||
|
runner.build job -> artifact storage.pages artifact: uses
|
||
|
runner.deploy job -> artifact storage.pages artifact: uses
|
||
|
|
||
|
runner.deploy job -> pages.Hugo site: deploys
|
||
|
artifact storage {
|
||
|
pages artifact
|
||
|
}
|
||
|
|
||
|
pages {
|
||
|
Hugo site
|
||
|
}
|
||
|
}
|