fixed web3
This commit is contained in:
parent
41dbb04085
commit
a72c9a1b4f
1 changed files with 20 additions and 3 deletions
23
.github/workflows/main_deploy.yaml
vendored
23
.github/workflows/main_deploy.yaml
vendored
|
|
@ -23,15 +23,32 @@ jobs:
|
|||
- name: Prepare web
|
||||
run: ./scripts/prepare-web.sh
|
||||
- name: Build Release Web
|
||||
run: flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --release --source-maps --base-href "/web/"
|
||||
run: flutter build web --dart-define=FLUTTER_WEB_CANVASKIT_URL=canvaskit/ --release --source-maps --base-href "/client/web/"
|
||||
- name: Build Website
|
||||
run: |
|
||||
mkdir public
|
||||
mv build/web/ public
|
||||
mv build/web/ public/web
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
personal_token: ${{ secrets.PAGES_DEPLOY_TOKEN }}
|
||||
publish_dir: ./public/web
|
||||
publish_dir: ./public
|
||||
publish_branch: gh-pages
|
||||
# cname: app.staging.pangea.chat.im
|
||||
|
||||
update_sentry:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Create Sentry release
|
||||
uses: getsentry/action-release@v1
|
||||
env:
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||
# SENTRY_URL: https://sentry.io/
|
||||
with:
|
||||
environment: staging
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue