Skip to content

Commit

Permalink
Update and rename build.yml to build-linux.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
queenkjuul authored Nov 5, 2024
1 parent 3b65b9f commit 2e564ac
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: npm run build:all
working-directory: ./server
- name: archive
run: for platform in "linux/arm64" "linux/x64" "macos/x64";do tar -cvzf spotify97-server-$(echo $platform | tr "/" "-")-$(npm pkg get version | tr -d '"').tar.gz $platform;done;ls -la
run: for platform in "linux/arm64" "linux/x64";do tar -cvzf spotify97-server-$(echo $platform | tr "/" "-")-$(npm pkg get version | tr -d '"').tar.gz $platform;done;ls -la
working-directory: ./server/dist
- name: upload
uses: appleboy/scp-action@v0.1.7
Expand All @@ -49,7 +49,7 @@ jobs:
port: ${{ secrets.PORT }}
key: ${{ secrets.KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
source: "server/dist/spotify97-server-linux-arm64-${{env.PACKAGE_VERSION}}.tar.gz,server/dist/spotify97-server-linux-x64-${{env.PACKAGE_VERSION}}.tar.gz,server/dist/spotify97-server-macos-x64-${{env.PACKAGE_VERSION}}.tar.gz"
source: "server/dist/spotify97-server-linux-arm64-${{env.PACKAGE_VERSION}}.tar.gz,server/dist/spotify97-server-linux-x64-${{env.PACKAGE_VERSION}}.tar.gz"
target: /srv/www/public/spotifyclient97/server/${{ env.PACKAGE_VERSION }}/${{ env.SHA }}/
strip_components: 2

Expand Down

0 comments on commit 2e564ac

Please sign in to comment.