Skip to content

Commit

Permalink
Merge pull request #572 from PAWECOGmbH/development
Browse files Browse the repository at this point in the history
Dev to Staging
  • Loading branch information
ptruessel authored Dec 5, 2024
2 parents a2d5e47 + 29b8c41 commit a6477fa
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Deploy to server via rsync
uses: Burnett01/[email protected]
with:
switches: -avzr --delete --exclude-from='.gitignore'
switches: -avzr --delete --exclude-from='.gitignore' --exclude='/config/nginx/conf.d/custom.conf'
path: ./
remote_path: ${{ secrets.PROD_REMOTE_PATH }}
remote_host: ${{ secrets.PROD_HOST }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Deploy to server via rsync
uses: Burnett01/[email protected]
with:
switches: -avzr --delete --exclude-from='.gitignore'
switches: -avzr --delete --exclude-from='.gitignore' --exclude='/config/nginx/conf.d/custom.conf'
path: ./
remote_path: ${{ secrets.STAGING_REMOTE_PATH }}
remote_host: ${{ secrets.STAGING_HOST }}
Expand Down
8 changes: 8 additions & 0 deletions config/example.custom.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# For your own NGINX settings#
#
# server {
# listen 80;
# server_name yourdomain.com;
# return 301 https://www.yourdomain.com$request_uri;
# }
#
1 change: 1 addition & 0 deletions config/nginx/conf.d/custom.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# For your own settings

0 comments on commit a6477fa

Please sign in to comment.