Skip to content

Commit

Permalink
fix CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Mar 14, 2023
1 parent 4862cd7 commit a81440a
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ jobs:
name: 'caps'
version: '0.6.24'

- run: caps --ci && yarn && yarn compile-server && yarn compile-page && yarn release-page && yarn release-server

- run: mkdir -p dist-server && mv dist/server.js dist-server && cp package.json dist-server/
name: Copy server scripts
- run: caps --ci && yarn && yarn compile-page && yarn release-page

- name: Upload web assets
id: deploy
Expand All @@ -48,18 +45,3 @@ jobs:

- name: Display status from deploy
run: echo "${{ steps.deploy.outputs.status }}"

- name: Upload server script
id: deploy-server
uses: Pendect/[email protected]
env:
DEPLOY_KEY: ${{secrets.rsync_private_key}}
with:
flags: '-avzr --progress'
options: ''
ssh_options: ''
src: 'dist-server/*'
dest: '[email protected]:/servers/paste-sharing/'

- name: Display status from deploy
run: echo "${{ steps.deploy-server.outputs.status }}"

0 comments on commit a81440a

Please sign in to comment.