We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6e27dd commit 19b11ecCopy full SHA for 19b11ec
.github/workflows/deploy.yml
@@ -68,21 +68,26 @@ jobs:
68
working-directory: ./frontend
69
run: npm run build
70
71
- - name: List files
72
- run: ls -la ./frontend/dist
+ - name: Upload build artifacts
+ uses: actions/upload-artifact@v2
73
+ with:
74
+ name: dist-files
75
+ path: ./frontend/dist
76
77
deploy-frontend:
78
runs-on: ubuntu-latest
79
needs: build-frontend
80
if: github.ref == 'refs/heads/develop'
81
82
steps:
- - name: Checkout repository
- uses: actions/checkout@v2
83
+ - name: Download build artifacts
84
+ uses: actions/download-artifact@v2
85
86
87
88
- name: Deploy to GitHub Pages
89
uses: JamesIves/github-pages-deploy-action@v4
90
with:
91
branch: develop
- folder: ./frontend/dist
92
+ folder: dist
93
clean: true
0 commit comments