Skip to content

Commit 19cbcd6

Browse files
authored
ci: trigger GitHub actions on main branch (#116)
1 parent ec3f6b6 commit 19cbcd6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ name: deploy
22

33
on:
44
push:
5-
branches: ["main"]
5+
branches:
6+
- main
7+
workflow_dispatch:
68

79
jobs:
810
deployment:
@@ -15,9 +17,8 @@ jobs:
1517
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
1618

1719
steps:
18-
- uses: actions/checkout@v3
19-
20-
- uses: actions/setup-node@v3
20+
- uses: actions/checkout@v5
21+
- uses: actions/setup-node@v6
2122
with:
2223
node-version: '10'
2324

@@ -28,7 +29,7 @@ jobs:
2829
run: npx parcel build src/index.js --no-source-maps
2930

3031
- name: AWS - authentication
31-
uses: aws-actions/configure-aws-credentials@v1
32+
uses: aws-actions/configure-aws-credentials@v5.1.0
3233
with:
3334
aws-region: 'eu-central-1'
3435
role-to-assume: ${{ secrets.AWS_ROLE_TO_ASSUME }}

0 commit comments

Comments
 (0)