File tree Expand file tree Collapse file tree 1 file changed +24
-16
lines changed
Expand file tree Collapse file tree 1 file changed +24
-16
lines changed Original file line number Diff line number Diff line change @@ -4,24 +4,32 @@ name: production
44on :
55 workflow_dispatch :
66 release :
7- types : [created]
87
98
109jobs :
11- frontend :
12- uses : ./.github/workflows/frontend.yml
10+ test :
11+ name : test
12+ runs-on : ubuntu-latest
13+ steps :
14+ - run : env | sort
15+ - run : echo "$github"
16+ env :
17+ github : ${{ toJson(github) }}
18+
19+ # frontend:
20+ # uses: ./.github/workflows/frontend.yml
1321
14- backend :
15- uses : ./.github/workflows/backend.yml
22+ # backend:
23+ # uses: ./.github/workflows/backend.yml
1624
17- production :
18- uses : ./.github/workflows/deploy.yml
19- needs : [frontend, backend]
20- with :
21- environment-name : production
22- environment-url : https://codeforpoznan.pl
23- secrets :
24- aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
25- aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
26- aws-resource-name : ${{ secrets.AWS_RESOURCE_NAME }}
27- aws-cloudfront-id : ${{ secrets.AWS_CLOUDFRONT_ID }}
25+ # production:
26+ # uses: ./.github/workflows/deploy.yml
27+ # needs: [frontend, backend]
28+ # with:
29+ # environment-name: production
30+ # environment-url: https://codeforpoznan.pl
31+ # secrets:
32+ # aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
33+ # aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
34+ # aws-resource-name: ${{ secrets.AWS_RESOURCE_NAME }}
35+ # aws-cloudfront-id: ${{ secrets.AWS_CLOUDFRONT_ID }}
You can’t perform that action at this time.
0 commit comments