Skip to content

Commit 8b83598

Browse files
authored
Merge pull request #57 from MITLibraries/fix-theme-deployment
Fix Theme Deployment Logic
2 parents 237efc1 + 4958cff commit 8b83598

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/prod-deploy.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,8 @@ jobs:
1111
- name: checkout code
1212
uses: actions/checkout@v3
1313

14-
- name: Exit if not main
15-
run: |
16-
if [[ "${{ github.ref }}" != "refs/heads/main" ]]; then
17-
echo "Branch is not main, exiting."
18-
exit 0
19-
fi
20-
2114
- name: deploy-theme
15+
if: github.ref == 'refs/heads/main'
2216
run: |
2317
chown -R :client .
2418
chmod -R g+w .

0 commit comments

Comments
 (0)