Skip to content
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

Fix report all broken links and Added step to update docker version #695

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,14 @@ jobs:
firebase projects:list --token ${{ secrets.FIREBASETOKEN }}
npm i
firebase deploy --token ${{ secrets.FIREBASETOKEN }} --only functions
- name: Install Latest Docker
run: |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce
- name: Check Docker Version
run: docker --version
- name: Build and Push Docker image
run: |
cd docker
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/pr-test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ jobs:
npm i
npm run lint
npm run test
- name: Install Latest Docker
run: |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install docker-ce
- name: Check Docker Version
run: docker --version
- name: Test Docker build
run: |
cd docker
Expand Down
2 changes: 1 addition & 1 deletion docker/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ exports.processBrokenLinks = (
) => {
const __getBadResults = (allUrls) =>
allUrls
.filter((url) => url["StatusCode"] === "404")
.filter((url) => url["StatusCode"] !== "200")
tombui99 marked this conversation as resolved.
Show resolved Hide resolved
.map((x) => ({
src: x.Source || "",
dst: x.Destination || "",
Expand Down