From 4afe21cc670c79770c3caada80b410026772a794 Mon Sep 17 00:00:00 2001 From: Erland A Syafiq Date: Tue, 4 Jun 2024 14:56:45 -0400 Subject: [PATCH] Updated deployment.md --- docs/deployment.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index c507d50..2248f27 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -41,7 +41,7 @@ The VTMUNC website is hosted on an Amazon EC2 instance, which serves as the core - Run the following command to execute the initial setup script. This will set up your reverse proxy and do the initial setups for the github runners: ```bash - curl -sSL https://raw.githubusercontent.com/Trafix120/VTMUNC/main/aws/ec2-setup.sh | bash + curl -sSL https://raw.githubusercontent.com/erland-syafiq/vtmunc/main/aws/ec2-setup.sh | bash ``` ### Step 4: Configure GitHub Runner @@ -50,13 +50,13 @@ The VTMUNC website is hosted on an Amazon EC2 instance, which serves as the core - Navigate to your GitHub repository. - Go to `Settings` > `Actions` > `Runners` > `New self-hosted runner` - Select the option to configure a new self-hosted runner. - - Most of the commands have already been done in the ec2-setup.sh script but you need to run the config script, which is unique to each repository. It should look like this: ./config.cmd --url https://github.com// --token + - Most of the commands have already been done in the ec2-setup.sh script but you need to run the config script, which is unique to each repository. It should look like this: ./config.cmd --url https://github.com/Username/Repository --token 2. **Run the GitHub Runner as a Systemd Daemon**: - Once configured, execute the following command to run the setup script again, which will configure the GitHub runner to run as a systemd daemon: ```bash - curl -ssL https://github.com/Trafix120/VTMUNC/blob/main/aws/start-githubrunner.sh | bash + curl -ssL https://raw.githubusercontent.com/erland-syafiq/vtmunc/main/aws/start-githubrunner.sh | bash ``` ### Step 5: Create a DynamoDB Table