Skip to content

Commit 54f62a6

Browse files
authored
Update prod.yml
1 parent 6249b54 commit 54f62a6

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.github/workflows/prod.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -33,27 +33,3 @@ jobs:
3333
REMOTE_PORT: '65002'
3434
TARGET: domains/codedthemes.com/public_html/demos/admin-templates/datta-able/bootstrap/free
3535
EXCLUDE: '/node_modules/'
36-
37-
- name: Read version
38-
id: version
39-
run: echo "VERSION=$(jq -r .version package.json)" >> $GITHUB_ENV
40-
41-
- name: 📦 Create version ZIP
42-
run: |
43-
zip -r "datta-able-bootstrap-v${VERSION}.zip" . \
44-
-x ".git/*" \
45-
-x ".github/workflows/*" \
46-
-x ".gitignore" \
47-
-x "node_modules/*"
48-
49-
- name: 🔑 Configure AWS Credentials
50-
uses: aws-actions/configure-aws-credentials@v4
51-
with:
52-
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
53-
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
54-
aws-region: us-west-2
55-
56-
- name: 🚀 Upload ZIP to S3
57-
run: |
58-
aws s3 cp "datta-able-bootstrap-v${VERSION}.zip" \
59-
"s3://${{ secrets.AWS_S3_BUCKET }}/DattaAble/Bootstrap/datta-able-bootstrap-v${VERSION}.zip"

0 commit comments

Comments
 (0)