Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
update remote
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcc1212 committed Apr 18, 2024
1 parent 088aef6 commit 914de55
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ jobs:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:ci
- name: Deploy to remote host
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.NEWNEWTITANIUM_IP }}
username: ${{ secrets.NEWNEWTITANIUM_USER }}
password: ${{ secrets.NEWNEWTITANIUM_PASS }}
script: |
cd /home/nial/TSI
git pull
npm install
screen -S TSI -X quit
screen -dmS TSI npm run dev
- name: run tests
working-directory: ./next/news-aggregation
run: npx playwright test
Expand Down

0 comments on commit 914de55

Please sign in to comment.