Skip to content

Commit 290ee85

Browse files
committed
Try to use build artifacts
1 parent ad5f5f8 commit 290ee85

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Generate, Upload, Deploy
33
on:
44
push:
55
branches:
6-
- feature/automation # Change to your target branch
6+
- main
77

88
jobs:
99
build:
@@ -38,11 +38,18 @@ jobs:
3838
- name: Upload Artifacts
3939
uses: actions/upload-artifact@v3
4040
with:
41-
name: generated-files
41+
name: build-artifacts
4242
path: |
4343
index.html
4444
matf.css
4545
46+
# Download artifacts to use in deployment
47+
- name: Download Artifacts
48+
uses: actions/download-artifact@v2
49+
with:
50+
name: build-artifacts
51+
path: ./
52+
4653
# Deploy to Netlify
4754
- name: Deploy to Netlify
4855
env:

0 commit comments

Comments
 (0)