-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
46feb2f
commit 19b149a
Showing
43 changed files
with
130 additions
and
1,616 deletions.
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
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 |
---|---|---|
|
@@ -36,21 +36,21 @@ jobs: | |
- name: Add Toolchain ARM64 | ||
run: rustup target add aarch64-unknown-linux-gnu | ||
- name: Build for ARM64 | ||
working-directory: ./Website | ||
working-directory: ./Source/Website | ||
run: | | ||
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=/usr/bin/aarch64-linux-gnu-gcc | ||
cargo build --verbose --target aarch64-unknown-linux-gnu --release | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
- name: Install PNPM packages | ||
working-directory: ./Website | ||
working-directory: ./Source/Website | ||
run: pnpm install | ||
- name: Run Tailwind | ||
working-directory: ./Website | ||
working-directory: ./Source/Website | ||
run: pnpm run tailwind | ||
- name: Prepare Upload | ||
working-directory: ./Website | ||
working-directory: ./Source/Website | ||
run: | | ||
cp target/aarch64-unknown-linux-gnu/release/FicsIt-Networks-Repository-Website . | ||
chmod 770 ./FicsIt-Networks-Repository-Website | ||
|
@@ -59,8 +59,8 @@ jobs: | |
with: | ||
name: Website | ||
path: | | ||
./Website/FicsIt-Networks-Repository-Website | ||
./Website/static/ | ||
./Source/Website/FicsIt-Networks-Repository-Website | ||
./Source/Website/static/ | ||
deploy: | ||
needs: build | ||
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' | ||
|
@@ -71,14 +71,14 @@ jobs: | |
uses: actions/download-artifact@v4 | ||
with: | ||
name: Website | ||
path: ./Website | ||
path: ./Source/Website | ||
- name: Copy Website artifact to server | ||
uses: appleboy/[email protected] | ||
with: | ||
host: ${{ secrets.DEPLOY_HOST }} | ||
username: ${{ secrets.DEPLOY_USERNAME }} | ||
key: ${{ secrets.DEPLOY_KEY }} | ||
source: "./Website/*" | ||
source: "./Source/Website/*" | ||
target: ${{ secrets.DEPLOY_FOLDER }} | ||
- name: Docker Compose | ||
uses: appleboy/[email protected] | ||
|
File renamed without changes.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,6 @@ | ||
[workspace] | ||
|
||
members = [ | ||
"Indexer", "Repository", | ||
"Website", | ||
] |
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,2 @@ | ||
.idea | ||
target |
Oops, something went wrong.