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 84b34a1 commit 13775b8Copy full SHA for 13775b8
.github/workflows/publish-insights.yml
@@ -26,9 +26,20 @@ jobs:
26
run: yarn workspace @lingodb/insights build
27
working-directory: frontend
28
29
- - name: Deploy to GitHub Pages
30
- if: success()
31
- uses: peaceiris/actions-gh-pages@v3
+
+ - name: Upload artifact
+ uses: actions/upload-pages-artifact@v1
32
with:
33
- github_token: ${{ secrets.GITHUB_TOKEN }}
34
- publish_dir: ./frontend/packages/insights/build
+ path: ./frontend/packages/insights/build
35
+ # Deployment job
36
+ deploy:
37
+ environment:
38
+ name: github-pages
39
+ url: ${{ steps.deployment.outputs.page_url }}
40
+ runs-on: ubuntu-latest
41
+ needs: build
42
+ steps:
43
+ - name: Deploy to GitHub Pages
44
+ id: deployment
45
+ uses: actions/deploy-pages@v2
0 commit comments