Skip to content

Commit

Permalink
feat: use _redirect file
Browse files Browse the repository at this point in the history
Signed-off-by: WoodenMaiden <yann.pomie@laposte.net>
  • Loading branch information
WoodenMaiden committed Feb 22, 2024
1 parent 233da70 commit 5a19eca
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
!./__site/.keep
!./__site/_headers
_site

.jekyll-cache/
3 changes: 0 additions & 3 deletions __site/_headers.d/base
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/*
Access-Control-Allow-Origin: *
X-Content-Type-Options: nosniff

/docker
Location: https://github.com/gama-platform/gama.docker/pkgs/container/gama.docker%2Fgama
1 change: 1 addition & 0 deletions __site/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/docker https://github.com/gama-platform/gama.docker/pkgs/container/gama.docker%2Fgama
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
exclude:
- ppa/templates/
- ppa/scripts/
- ppa/scripts/
- docker/
8 changes: 8 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

jekyll build

cat __site/_headers.d/* > /_site/_headers
echo "Generated headers!"

mv -v __site/_redirects /_site/

0 comments on commit 5a19eca

Please sign in to comment.