Skip to content

Commit 1abbe9c

Browse files
authored
Merge pull request #34 from PythonMexico/migrate/github-pages-to-s3
Migrate/GitHub pages to s3
2 parents 9fd2b03 + 454149f commit 1abbe9c

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

.commitlintrc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["@commitlint/config-conventional"]
3+
}

.github/workflows/deploy-staging.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy to Staging (AWS S3 + CloudFront)
22

33
on:
44
push:
5-
branches: [ develop, staging ]
5+
branches: [ staging ]
66

77
permissions:
88
contents: read
@@ -89,12 +89,3 @@ jobs:
8989
--cache-control "public, max-age=0, must-revalidate" \
9090
--exclude "*" \
9191
--include "sitemap.xml"
92-
93-
- name: Deployment summary
94-
run: |
95-
echo "✅ Staging website deployed successfully!"
96-
echo "🌐 URL: https://staging.pythoncdmx.org"
97-
echo "📦 S3 Bucket: ${{ secrets.AWS_S3_BUCKET }}"
98-
echo "🚀 CloudFront Distribution: ${{ secrets.CLOUDFRONT_DISTRIBUTION }}"
99-
echo ""
100-
echo "ℹ️ This is a STAGING environment for testing purposes."

0 commit comments

Comments
 (0)