Compare commits
No commits in common. "2190210bc17f2e55faa4bd4a0e81233b5623e567" and "ee314abe925ec9f9a1ef7fcaf858abdbd6c02705" have entirely different histories.
2190210bc1
...
ee314abe92
4 changed files with 4 additions and 9 deletions
|
@ -3,15 +3,13 @@ steps:
|
|||
image: nixos/nix
|
||||
commands:
|
||||
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
||||
- nix profile install nixpkgs#gnused --impure
|
||||
- sed -i "s|base_url = \"https://www.softinio.com\"|base_url = \"https://$CI_COMMIT_BRANCH.softinio.com\"|" ./config.toml
|
||||
- nix build
|
||||
- nix flake show
|
||||
- ls result
|
||||
- nix develop --command wrangler pages deploy result --branch=$CI_COMMIT_BRANCH --project-name=softinio --commit-dirty=true
|
||||
- nix develop --command wrangler pages deploy result --branch=$CI_COMMIT_SOURCE_BRANCH --project-name=softinio --commit-dirty=true
|
||||
secrets: [ cloudflare_account_id, cloudflare_api_token ]
|
||||
when:
|
||||
event: [push]
|
||||
event: [push, pull_request]
|
||||
branch:
|
||||
exclude: [ main ]
|
||||
|
||||
|
|
|
@ -197,7 +197,7 @@ copyright = "© $CURRENT_YEAR $AUTHOR $SEPARATOR Unless otherwise noted, the con
|
|||
allowed_domains = [
|
||||
{ directive = "font-src", domains = ["'self'", "data:"] },
|
||||
{ directive = "img-src", domains = ["'self'", "https://*", "data:"] },
|
||||
{ directive = "script-src", domains = ["'self'", "https://comments.softinio.com/js/embed.min.js", "https://static.cloudflareinsights.com"] },
|
||||
{ directive = "script-src", domains = ["'self'", "https://comments.softinio.com/js/embed.min.js"] },
|
||||
{ directive = "style-src", domains = ["'self'"] },
|
||||
{ directive = "frame-src", domains = ["player.vimeo.com", "https://www.youtube-nocookie.com", "https://watch.softinio.com", "https://notes.softinio.com/embed"] },
|
||||
]
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
ln -snf "${theme}" "themes/${themeName}"
|
||||
'';
|
||||
buildPhase = ''
|
||||
zola build -f
|
||||
zola build
|
||||
'';
|
||||
installPhase = ''
|
||||
mkdir -p $out
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
/*
|
||||
Access-Control-Allow-Origin: https://www.softinio.com https://comments.softinio.com https://*.softinio.pages.dev
|
||||
|
Loading…
Reference in a new issue