fix: Traefik Let's Encrypt acme.json
Some checks failed
Deploy to Staging / Build Images (push) Successful in 21s
Deploy to Staging / Deploy to Staging (push) Failing after 5s
Deploy to Staging / Verify Staging (push) Has been skipped
Deploy to Staging / Notify Staging Ready (push) Has been skipped
Deploy to Staging / Notify Staging Failure (push) Successful in 6s
Some checks failed
Deploy to Staging / Build Images (push) Successful in 21s
Deploy to Staging / Deploy to Staging (push) Failing after 5s
Deploy to Staging / Verify Staging (push) Has been skipped
Deploy to Staging / Notify Staging Ready (push) Has been skipped
Deploy to Staging / Notify Staging Failure (push) Successful in 6s
This commit is contained in:
@@ -122,9 +122,14 @@ jobs:
|
||||
- name: Initialize data directories
|
||||
run: |
|
||||
cd "$DEPLOY_PATH"
|
||||
sudo mkdir -p data/backups data/documents
|
||||
sudo mkdir -p data/backups data/documents data/traefik
|
||||
sudo chown -R 1001:1001 data/backups data/documents
|
||||
sudo chmod 755 data/backups data/documents
|
||||
# Traefik acme.json requires 600 permissions
|
||||
if [ ! -f data/traefik/acme.json ]; then
|
||||
touch data/traefik/acme.json
|
||||
fi
|
||||
chmod 600 data/traefik/acme.json
|
||||
|
||||
- name: Pull new images
|
||||
run: |
|
||||
|
||||
@@ -114,9 +114,14 @@ jobs:
|
||||
- name: Initialize data directories
|
||||
run: |
|
||||
cd "$DEPLOY_PATH"
|
||||
sudo mkdir -p data/backups data/documents
|
||||
sudo mkdir -p data/backups data/documents data/traefik
|
||||
sudo chown -R 1001:1001 data/backups data/documents
|
||||
sudo chmod 755 data/backups data/documents
|
||||
# Traefik acme.json requires 600 permissions
|
||||
if [ ! -f data/traefik/acme.json ]; then
|
||||
touch data/traefik/acme.json
|
||||
fi
|
||||
chmod 600 data/traefik/acme.json
|
||||
|
||||
- name: Pull new images
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user