File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,11 @@ jobs:
1616 - uses : actions-rs/toolchain@v1
1717 with :
1818 toolchain : stable
19+ target : x86_64-unknown-linux-musl
1920 - uses : actions-rs/cargo@v1
2021 with :
2122 command : build
22- args : --release --package atomic-server
23+ args : --release --package atomic-server --target x86_64-unknown-linux-musl
2324 - name : Set env
2425 run : echo "RELEASE_VERSION=$(echo ${GITHUB_REF#refs/*/})" >> $GITHUB_ENV
2526 - name : Transfer binary rsync
3031 SOURCE : " target/release/atomic-server"
3132 REMOTE_HOST : ${{ secrets.REMOTE_HOST }}
3233 REMOTE_USER : ${{ secrets.REMOTE_USER }}
34+ # Set filename to unique ID
35+ # TARGET: ~/atomic-server-${{ env.RELEASE_VERSION }}
3336 TARGET : ~/
3437 # - name: Export data
3538 # run: ~/atomic-server --export
4447 # TODO: fix backup, see
4548 # https://github.com/atomicdata-dev/atomic-data-rust/issues/487
4649 # script: systemctl restart atomic && ~/atomic-server export && systemctl restart atomic
47- script : systemctl restart atomic
50+ script : systemctl stop atomic && ~/atomic-server export &&
You can’t perform that action at this time.
0 commit comments