new web build test...2
This commit is contained in:
parent
30a6cb5610
commit
5de9439294
1 changed files with 6 additions and 10 deletions
16
.github/workflows/main_deploy.yaml
vendored
16
.github/workflows/main_deploy.yaml
vendored
|
|
@ -17,11 +17,6 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- run: cat .github/workflows/versions.env >> $GITHUB_ENV
|
||||
- name: 'Create env file'
|
||||
run: |
|
||||
touch .env
|
||||
echo "$WEB_APP_ENV" >> .env
|
||||
cat .env
|
||||
- uses: subosito/flutter-action@v2
|
||||
with:
|
||||
flutter-version: ${{ env.FLUTTER_VERSION }}
|
||||
|
|
@ -33,10 +28,11 @@ jobs:
|
|||
run: ./scripts/prepare-web.sh
|
||||
- name: Build Release Web
|
||||
run: ./scripts/build-web.sh
|
||||
- name: Move Website
|
||||
- name: Build Website
|
||||
run: |
|
||||
mv build/web public
|
||||
mv .env public/.env
|
||||
touch public/.env
|
||||
echo "$WEB_APP_ENV" >> public/.env
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
|
|
@ -47,8 +43,6 @@ jobs:
|
|||
|
||||
update_sentry:
|
||||
runs-on: ubuntu-latest
|
||||
environment: staging
|
||||
needs: deploy_web
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
|
|
@ -60,4 +54,6 @@ jobs:
|
|||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
|
||||
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
|
||||
# SENTRY_URL: https://sentry.io/
|
||||
# SENTRY_URL: https://sentry.io/
|
||||
with:
|
||||
environment: staging
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue