Skip to content

Commit

Permalink
Fetched template changes (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
spietras authored Mar 27, 2024
1 parent 3da25ff commit b24df22
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .copier-answers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier; NEVER EDIT MANUALLY
_commit: 0.2.0
_commit: 0.3.0
_src_path: gh:radio-aktywne/template-app-liquidsoap
accountname: radio-aktywne
appname: fusion
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
if: "!cancelled()"
run: >
mkdir
-p
--parents
${{ env.NIX_CACHE_DIR }}
&&
nix-store
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
if: "!cancelled()"
run: >
mkdir
-p
--parents
${{ env.NIX_CACHE_DIR }}
&&
nix-store
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ ENTRYPOINT ["/app/scripts/entrypoint.sh", "liquidsoap", "src/main.liq"]
CMD []

# Setup ownership
RUN chown -R app: /app/
RUN chown --recursive app: ./
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"scripts": {
"docs": "docusaurus",
"update": "ncu --peer --doctor --upgrade && npm i --no-audit --no-fund",
"postupdate": "rm -rf .tmp/",
"postupdate": "rm --recursive --force .tmp/",
"test": "docusaurus build --out-dir .tmp/",
"posttest": "rm -rf .tmp/"
"posttest": "rm --recursive --force .tmp/"
},
"engines": {
"node": ">=18.0"
Expand Down
3 changes: 0 additions & 3 deletions scripts/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
# shellcheck source=/dev/null
. /env/activate

# Set permissions
chown -R app: /app/

# Run as non-root user
# Use tini to handle signals
exec su-exec app tini -- "$@"
2 changes: 1 addition & 1 deletion scripts/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if [[ -f "${_cache}/archive.nar" ]]; then
fi

# We need to create necessary directories first
mkdir -p "${_build}/closure/"
mkdir --parents "${_build}/closure/"

# Save system to variable so we can reuse it easily
_system=$(nix eval --impure --raw --expr 'builtins.currentSystem')
Expand Down

0 comments on commit b24df22

Please sign in to comment.