We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a494ec7 commit f425031Copy full SHA for f425031
.github/workflows/build.yaml
@@ -35,10 +35,17 @@ jobs:
35
- name: Build
36
run: npm run build
37
38
+ - name: Upload artifact
39
+ uses: actions/upload-pages-artifact@v3
40
+ with:
41
+ name: github-pages-${{ github.run_id }}
42
+ path: ./build
43
+ retention-days: 1
44
45
deploy:
46
needs: build
47
runs-on: ubuntu-latest
48
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'
49
environment:
50
name: github-pages
51
url: ${{ steps.deployment.outputs.page_url }}
0 commit comments