Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
20 changes: 10 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,16 +63,16 @@ jobs:
# Create temporary directory to backup files
mkdir -p temp_backup
# Backup the files we want to preserve
gsutil cp gs://sourcify-staging-ui-bucket/static/stats.json temp_backup/ 2>/dev/null || echo "stats.json not found, skipping backup"
gsutil cp gs://sourcify-staging-ui-bucket/static/manifest.json temp_backup/ 2>/dev/null || echo "manifest.json not found, skipping backup"
gcloud storage cp gs://sourcify-staging-ui-bucket/static/stats.json temp_backup/ 2>/dev/null || echo "stats.json not found, skipping backup"
gcloud storage cp gs://sourcify-staging-ui-bucket/static/manifest.json temp_backup/ 2>/dev/null || echo "manifest.json not found, skipping backup"
# Clear the bucket
gsutil -m rm gs://sourcify-staging-ui-bucket/** || true
gcloud storage rm "gs://sourcify-staging-ui-bucket/**" || true
# Restore the preserved files
if [ -f temp_backup/stats.json ]; then
gsutil cp temp_backup/stats.json gs://sourcify-staging-ui-bucket/static/
gcloud storage cp temp_backup/stats.json gs://sourcify-staging-ui-bucket/static/
fi
if [ -f temp_backup/manifest.json ]; then
gsutil cp temp_backup/manifest.json gs://sourcify-staging-ui-bucket/static/
gcloud storage cp temp_backup/manifest.json gs://sourcify-staging-ui-bucket/static/
fi
# Clean up temporary directory
rm -rf temp_backup
Expand All @@ -83,16 +83,16 @@ jobs:
# Create temporary directory to backup files
mkdir -p temp_backup
# Backup the files we want to preserve
gsutil cp gs://sourcify-ui-bucket/static/stats.json temp_backup/ 2>/dev/null || echo "stats.json not found, skipping backup"
gsutil cp gs://sourcify-ui-bucket/static/manifest.json temp_backup/ 2>/dev/null || echo "manifest.json not found, skipping backup"
gcloud storage cp gs://sourcify-ui-bucket/static/stats.json temp_backup/ 2>/dev/null || echo "stats.json not found, skipping backup"
gcloud storage cp gs://sourcify-ui-bucket/static/manifest.json temp_backup/ 2>/dev/null || echo "manifest.json not found, skipping backup"
# Clear the bucket
gsutil -m rm gs://sourcify-ui-bucket/** || true
gcloud storage rm "gs://sourcify-ui-bucket/**" || true
# Restore the preserved files
if [ -f temp_backup/stats.json ]; then
gsutil cp temp_backup/stats.json gs://sourcify-ui-bucket/static/
gcloud storage cp temp_backup/stats.json gs://sourcify-ui-bucket/static/
fi
if [ -f temp_backup/manifest.json ]; then
gsutil cp temp_backup/manifest.json gs://sourcify-ui-bucket/static/
gcloud storage cp temp_backup/manifest.json gs://sourcify-ui-bucket/static/
fi
# Clean up temporary directory
rm -rf temp_backup
Expand Down
13 changes: 13 additions & 0 deletions src/pages/LandingPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,19 @@ const LandingPage = () => {
</div>
</nav>
<div className="text-center text-sm mt-8 text-ceruleanBlue-300">
<a
href="https://drpc.org?ref=7ef756"
target="_blank"
rel="noopener noreferrer"
className="inline-block mb-4"
>
<img
width={218}
height={54}
src="https://drpc.org/images/external/powered-by-drpc-light.svg"
alt="Powered by dRPC"
/>
</a>
<div className="text-base mb-1">
Made with ❤️ by{" "}
<a
Expand Down
Loading