Add configuration to only run when relevant files change
If there was a change to the repo which didn't affect the site, the pipeline would fail because there would be no changes to send to AWS CodeCommit. I added some configuration to the gitlab-ci to only run the pipeline if certain files/directories are changed.