Skip to content

Commit 6a94e38

Browse files
authored
Update blank.yml
1 parent 7e35bcf commit 6a94e38

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

.github/workflows/blank.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,30 @@ jobs:
4141
run: |
4242
echo Add other actions to build,
4343
echo test, and deploy your project.
44+
45+
test-site:
46+
needs: [deploy-staging]
47+
runs-on: ubuntu-latest
48+
name: Test on ${{ matrix.browser }}
49+
strategy:
50+
matrix:
51+
browser: ['edge', 'chrome', 'mozilla']
52+
steps:
53+
- name: Run a one-line script
54+
run: echo Hello, world!
55+
56+
- name: Run a multi-line script
57+
run: |
58+
echo Add other actions to build,
59+
echo test, and deploy your project.
4460
4561
deploy-production:
46-
needs: [deploy-staging]
62+
needs: [test-site]
4763
if: github.ref == 'refs/heads/main'
4864

4965
runs-on: ubuntu-latest
5066
environment: production
5167

52-
5368
steps:
5469

5570
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)