We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5dda601 + d7a1148 commit 44a7a8aCopy full SHA for 44a7a8a
.github/workflows/ci.yml
@@ -35,7 +35,7 @@ jobs:
35
- name: Install serverless
36
run: npm install -g serverless serverless-python-requirements
37
- name: Deploy Production
38
- if: github.ref == 'refs/heads/main'
+ if: startsWith(github.ref, 'refs/tags/')
39
run: serverless deploy -s prod
40
env:
41
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
0 commit comments