-
Notifications
You must be signed in to change notification settings - Fork 704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a Cloud Build config to deploy website to Firebase. #5447
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
33bda53
New Cloud Build config for trigger for Firebase deploy on push to mai…
khanhnwin 30fcf51
call check links and publish shell file
khanhnwin 9060844
cloud logging only
khanhnwin abc2f34
allow execute
khanhnwin 50e0a42
specify TOOL_DIR env
khanhnwin 7879cf9
export env variable
khanhnwin d9302da
remove leading backslash
khanhnwin 709e612
remove check links
khanhnwin 6d115f0
consolidate into single file
khanhnwin 399fd34
Use firebase-ghcli to make all firebase deploys use the same containe…
khanhnwin 272b809
add newline at end of file
khanhnwin 3f98199
Merge branch 'main' into cloud-build-deploy
khanhnwin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
steps: | ||
- name: gcr.io/cloud-builders/git | ||
args: ['submodule', 'update', '--init', '--recursive'] | ||
- name: gcr.io/cloud-builders/docker | ||
entrypoint: '/bin/bash' | ||
args: | ||
- '-c' | ||
- |- | ||
set -e | ||
echo "Building the website using a makefile..." | ||
make build | ||
- name: gcr.io/flutter-dev-230821/firebase-ghcli | ||
entrypoint: '/bin/bash' | ||
args: | ||
- '-c' | ||
- |- | ||
firebase deploy --project=flutter-website-staging-349021 --only=hosting | ||
options: | ||
khanhnwin marked this conversation as resolved.
Show resolved
Hide resolved
|
||
logging: CLOUD_LOGGING_ONLY |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this supposed to be to a dart project instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes! I'm going to open another PR to change that once this lands and we've confirmed it deploys properly. I don't want to remove the current deploy GitHub action until we confirm this deploy works & I don't want them to deploy on top of each other.