Skip to content

Commit

Permalink
Merge branch 'main' into fastn_type_value
Browse files Browse the repository at this point in the history
  • Loading branch information
amitu authored Nov 13, 2024
2 parents 3d8a9a6 + 5da28f8 commit 55729af
Show file tree
Hide file tree
Showing 3,356 changed files with 196,240 additions and 318 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
# Refer: https://github.com/github/linguist/blob/master/docs/overrides.md

*.html linguist-generated
default-*.js linguist-generated
default-*.css linguist-generated
manifest.json linguist-generated
8 changes: 0 additions & 8 deletions .github/cue.sh

This file was deleted.

File renamed without changes.
18 changes: 0 additions & 18 deletions .github/workflows/cue.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/deploy-fastn-com.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy fastn.com

on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- 'fastn.com/**'
- '.github/workflows/deploy-fastn-com.yml'

jobs:
env:
# https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions
FIFTHTRY_SITE_WRITE_TOKEN: ${{ secrets.FIFTHTRY_SITE_WRITE_TOKEN }}
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: source <(curl -fsSL https://fastn.com/install.sh)
- run: |
# TODO: remove below line when https://github.com/FifthTry/dotcom/issues/361 is done
rm .gitignore # so that `fastn upload` uploads .packages/ too
cd fastn.com
echo "Using $(fastn --version) to upload fastn.com to FifthTry"
# Requires FIFTHTRY_SITE_WRITE_TOKEN to be set
fastn upload fastn >> $GITHUB_STEP_SUMMARY
71 changes: 0 additions & 71 deletions .github/workflows/deploy.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/optimize-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# https://github.com/calibreapp/image-actions
name: Optimize Images
on:
push:
branches:
- main
paths:
- '**.jpg'
- '**.jpeg'
- '**.png'
- '**.webp'
jobs:
build:
name: calibreapp/image-actions
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Compress Images
id: calibre
uses: calibreapp/image-actions@main
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
compressOnly: true # don't make a commit!
- name: Create New Pull Request If Needed
if: steps.calibre.outputs.markdown != ''
uses: peter-evans/create-pull-request@v7
with:
title: Compressed Images
branch-suffix: timestamp
commit-message: Compressed Images
body: ${{ steps.calibre.outputs.markdown }}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
pull_request:
branches: [ main ]
jobs:
everything:
tests-and-formatting:
name: Rust/JS Checks/Formatting
runs-on: ubuntu-latest
env:
Expand All @@ -17,7 +17,7 @@ jobs:
FASTN_ENABLE_EMAIL: false
steps:
- name: Check out
uses: actions/checkout@v3
uses: actions/checkout@v4
# - name: Set up cargo cache
# uses: actions/cache@v3 # there is also https://github.com/Swatinem/rust-cache
# continue-on-error: false
Expand Down
Binary file modified assets/fastn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/github-pages.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/img_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/img_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/wasm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastn-core/fbt-tests/08-static-assets/input/amitu/scrot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastn-core/fbt-tests/08-static-assets/output/scrot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastn-core/fbt-tests/09-markdown-pages/input/amitu/scrot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fastn-core/fbt-tests/09-markdown-pages/output/scrot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 55729af

Please sign in to comment.