-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 885 Bytes
/
dev.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: dev.jmuzina.io
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-portfolio:
name: Build Development portfolio
uses: 'jmuzina/portfolio/.github/workflows/ci.yml@main'
with:
environment: dev
secrets:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
deploy-portfolio:
needs: build-portfolio
name: Deploy Portfolio to Dev environment
uses: 'jmuzina/deploy_s3_with_cloudfront_invalidation/.github/workflows/[email protected]'
with:
environment: dev
secrets:
AWS_S3_BUCKET_NAME: ${{ secrets.DEV_AWS_S3_BUCKET_NAME }}
AWS_ACCESS_KEY_ID: ${{ secrets.DEV_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DEV_AWS_SECRET_ACCESS_KEY }}
AWS_CLOUDFRONT_DISTRIBUTION_ID: ${{ secrets.DEV_AWS_CLOUDFRONT_DISTRIBUTION_ID }}
AWS_REGION: ${{ secrets.AWS_REGION }}