-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into doc/src-ui-layout-responsive-building-adapti…
…ve-apps
- Loading branch information
Showing
61 changed files
with
254 additions
and
186 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,30 +42,30 @@ jobs: | |
run: make test | ||
continue-on-error: ${{ matrix.experimental }} | ||
|
||
# linkcheck: | ||
# name: Build site and check links | ||
# runs-on: ubuntu-latest | ||
# if: ${{ github.ref != 'refs/heads/main' }} | ||
# steps: | ||
# - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | ||
# with: | ||
# submodules: recursive | ||
# - name: Build site and check links | ||
# run: make build BUILD_CONFIGS=_config.yml,_config_stage.yml | ||
# - name: Install Node for Firebase install | ||
# uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 | ||
# with: | ||
# node-version: ${{ env.NODE_VERSION }} | ||
# - name: Install Firebase CLI | ||
# run: npm install -g [email protected] | ||
# - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d | ||
# with: | ||
# sdk: stable | ||
# - run: tool/check-links.sh | ||
linkcheck: | ||
name: Build site and check links | ||
runs-on: ubuntu-latest | ||
if: ${{ github.ref != 'refs/heads/main' }} | ||
steps: | ||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | ||
with: | ||
submodules: recursive | ||
- name: Build site and check links | ||
run: make build BUILD_CONFIGS=_config.yml,_config_stage.yml | ||
# - name: Install Node for Firebase install | ||
# uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 | ||
# with: | ||
# node-version: ${{ env.NODE_VERSION }} | ||
# - name: Install Firebase CLI | ||
# run: npm install -g [email protected] | ||
- uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d | ||
with: | ||
sdk: stable | ||
- run: tool/check-links.sh | ||
|
||
deploy: | ||
name: Deploy to production | ||
needs: test | ||
needs: [test, linkcheck] | ||
runs-on: ubuntu-latest | ||
if: | | ||
github.event_name == 'push' | ||
|
@@ -82,12 +82,13 @@ jobs: | |
# with: | ||
# node-version: ${{ env.NODE_VERSION }} | ||
# - name: Install Firebase CLI | ||
# run: npm install -g [email protected] | ||
# run: npm install -g [email protected] | ||
# - uses: dart-lang/setup-dart@b64355ae6ca0b5d484f0106a033dd1388965d06d | ||
# with: | ||
# sdk: stable | ||
# - run: tool/check-links.sh | ||
# - name: Deploy to Firebase hosting | ||
# run: make deploy | ||
# env: | ||
# FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | ||
# FIREBASE_ALIAS: default | ||
# run: make deploy # TODO(drewroengoogle) Run deploy on Cloud Build. | ||
- name: Deploy CN | ||
run: make deploy | ||
env: | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,8 +68,6 @@ RUN mkdir -p /etc/apt/keyrings \ | |
&& apt-get install nodejs -yq \ | ||
&& npm install -g npm # Ensure latest npm | ||
|
||
# Install global Firebase CLI | ||
# RUN npm install -g [email protected] | ||
|
||
# ============== FLUTTER CODE TESTS ============== | ||
FROM flutter AS tests | ||
|
@@ -136,7 +134,3 @@ ENV BUILD_CONFIGS=$BUILD_CONFIGS | |
# RUN bundle exec jekyll build --config $BUILD_CONFIGS | ||
|
||
RUN tool/move_docs.sh; tool/translator/build.sh | ||
|
||
FROM build AS checklinks | ||
|
||
CMD ["tool/check-links.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.