Skip to content

Commit db0ae0b

Browse files
committed
update workflow to local config
1 parent a873853 commit db0ae0b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ jobs:
4141
-out /etc/nginx/certs/selfsigned.crt \
4242
-subj "/CN=localhost"
4343
44-
# Load the version-controlled config
45-
# (adjust the source path if your folder is not named "config")
46-
sudo cp config/webapp.conf /etc/nginx/sites-available/webapp
44+
# Load the version-controlled config from nginx/webapp.conf
45+
sudo cp nginx/webapp.conf /etc/nginx/sites-available/webapp
4746
sudo ln -sf /etc/nginx/sites-available/webapp /etc/nginx/sites-enabled/webapp
4847
sudo rm -f /etc/nginx/sites-enabled/default
4948
sudo nginx -t

0 commit comments

Comments
 (0)