~dvshkn/website

d1b2684dc321a45a9aff4fbe97985434274b825c — David Knight 1 year, 5 months ago 0e5a185
switch primary branch to main, integrate website-media
2 files changed, 9 insertions(+), 2 deletions(-)

M .build.yml
M config.toml
M .build.yml => .build.yml +2 -1
@@ 8,11 8,12 @@ packages:

sources:
  - https://git.sr.ht/~dvshkn/website
  - https://git.sr.ht/~dvshkn/website-media

tasks:
  - branch-gate: |
      cd website
      if [ "$(git rev-parse HEAD)" != "$(git rev-parse master)" ]; then
      if [ "$(git rev-parse HEAD)" != "$(git rev-parse main)" ]; then
        complete-build;
      fi
  - build: |

M config.toml => config.toml +7 -1
@@ 21,4 21,10 @@ theme = "simpler"

# allows raw html in markdown
[markup.goldmark.renderer]
unsafe = true
\ No newline at end of file
unsafe = true

# pulls website-media repo into build
[module]
    [[module.mounts]]
        source = "../website-media/public/media"
        target = "./static/media"