Skip to content

Commit 60beb19

Browse files
committed
adding inital code
0 parents  commit 60beb19

File tree

29 files changed

+5879
-0
lines changed

29 files changed

+5879
-0
lines changed

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[alias]
2+
xtask = "run --manifest-path xtask/Cargo.toml --"

.github/workflows/app-to-ft.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Upload lets-XXX to FifthTry
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths:
7+
- lets-XXX.fifthtry.site/**
8+
- backend/**
9+
- scripts/*.sh
10+
- .github/workflows/app-to-ft.yml
11+
12+
13+
jobs:
14+
upload-to-fifthtry:
15+
runs-on: ubuntu-latest
16+
env:
17+
FIFTHTRY_SITE_WRITE_TOKEN: ${{ secrets.FT_LETS_XXX }}
18+
steps:
19+
- uses: actions/checkout@v2
20+
- uses: Swatinem/rust-cache@v2
21+
- run: ./scripts/publish-app.sh
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Upload lets-XXX-template to FifthTry
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths:
7+
- lets-XXX-template.fifthtry.site/**
8+
- .github/workflows/template-to-ft.yml
9+
10+
11+
jobs:
12+
upload-to-fifthtry:
13+
runs-on: ubuntu-latest
14+
env:
15+
FIFTHTRY_SITE_WRITE_TOKEN: ${{ secrets.FT_LETS_XXX_TEMPLATE }}
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
- run: sh -c "$(curl -fsSL https://fastn.com/install.sh)"
20+
21+
# let's publish this only after there is some stability on the schema
22+
# - name: Upload to FifthTry using fastn
23+
# run: cd lets-XXX-template.fifthtry.site/ && fastn upload lets-XXX-template

.github/workflows/www-to-ft.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Upload www to FifthTry
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths:
7+
- lets-XXX.fifthtry-community.com/**
8+
- .github/workflows/www-to-ft.yml
9+
10+
11+
jobs:
12+
upload-to-fifthtry:
13+
runs-on: ubuntu-latest
14+
env:
15+
FIFTHTRY_SITE_WRITE_TOKEN: ${{ secrets.FT_LETS_XXX_WWW }}
16+
steps:
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
- run: sh -c "$(curl -fsSL https://fastn.com/install.sh)"
20+
- name: Upload to FifthTry using fastn
21+
run: cd lets-XXX.fifthtry-community.com/ && fastn upload lets-XXX-www

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Generated by Cargo
2+
# will have compiled files and executables
3+
debug/
4+
target/
5+
.idea
6+
7+
.packages
8+
.fastn
9+
10+
*.sqlite
11+
12+
# These are backup files generated by rustfmt
13+
**/*.rs.bk
14+
15+
# MSVC Windows builds of rustc generate these, which store debugging information
16+
*.pdb
17+
18+
# RustRover
19+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
20+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
21+
# and can be added to the global gitignore or merged into this file. For a more nuclear
22+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
23+
#.idea/

0 commit comments

Comments
 (0)