docs deploment to next.trifid.e3t.cc
/ build (push) Failing after 1m50s Details
/ build_x64 (push) Successful in 2m27s Details
/ build_arm64 (push) Successful in 3m34s Details

This commit is contained in:
core 2023-10-08 18:38:08 -04:00
parent 4eec05762c
commit eeb624b058
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
on:
push:
branches:
master
jobs:
build:
runs_on: docker
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: cd docs && yarn install
- name: Build static site
run: cd docs && yarn build
- name: Upload site
run: sshpass -p "${{ secrets.TRIFID_WEBSITE_NEXT_PASSWORD }}" rsync --mkpath -e 'ssh -p ${{ secrets.TRIFID_WEBSITE_NEXT_PORT }} -o StrictHostKeyChecking=no' docs/build ${{ secrets.TRIFID_WEBSITE_NEXT_USER }}@${{ secrets.TRIFID_WEBSITE_NEXT_IP }}:${{ secrets.TRIFID_WEBSITE_NEXT_PATH }}