Skip to content

Commit

Permalink
fix(ops): clean up the compile workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
strogonoff committed Dec 18, 2023
1 parent 0191334 commit ae65a87
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
workflow_dispatch:

jobs:
build_webgui:
compile_all:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -29,27 +29,8 @@ jobs:
run: |
yarn compile-all
- name: Build site
run: |
yarn workspace webgui build --debug
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
name: webgui-dist
path: packages/webgui/dist/

# Deployment job
deploy_webgui:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
if: ${{ github.ref == 'refs/heads/master' }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
with:
artifact_name: webgui-dist

0 comments on commit ae65a87

Please sign in to comment.