Skip to content

Commit 13775b8

Browse files
committed
wip
1 parent 84b34a1 commit 13775b8

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/publish-insights.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,20 @@ jobs:
2626
run: yarn workspace @lingodb/insights build
2727
working-directory: frontend
2828

29-
- name: Deploy to GitHub Pages
30-
if: success()
31-
uses: peaceiris/actions-gh-pages@v3
29+
30+
- name: Upload artifact
31+
uses: actions/upload-pages-artifact@v1
3232
with:
33-
github_token: ${{ secrets.GITHUB_TOKEN }}
34-
publish_dir: ./frontend/packages/insights/build
33+
path: ./frontend/packages/insights/build
34+
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

Comments
 (0)