mirror of
https://github.com/ArthurDanjou/arthurdanjou.fr.git
synced 2026-01-14 12:14:34 +01:00
update node.js.yml
This commit is contained in:
27
.github/workflows/node.js.yml
vendored
27
.github/workflows/node.js.yml
vendored
@@ -12,12 +12,11 @@ jobs:
|
||||
|
||||
- name: Deploy
|
||||
uses: appleboy/scp-action@master
|
||||
env:
|
||||
HOST: ${{ secrets.SSH_HOST }}
|
||||
USERNAME: ${{ secrets.SSH_USERNAME }}
|
||||
PORT: ${{ secrets.SSH_PORT }}
|
||||
KEY: ${{ secrets.SSH_KEY }}
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
username: ${{ secrets.SSH_USERNAME }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
source: "."
|
||||
target: "/home/arthur/website"
|
||||
|
||||
@@ -25,25 +24,25 @@ jobs:
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
USERNAME: ${{ secrets.SS_USERNAME }}
|
||||
PORT: ${{ secrets.SSH_PORT }}
|
||||
KEY: ${{ secrets.SSH_KEY }}
|
||||
username: ${{ secrets.SS_USERNAME }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
script: yarn install
|
||||
|
||||
- name: Build
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
USERNAME: ${{ secrets.SS_USERNAME }}
|
||||
PORT: ${{ secrets.SSH_PORT }}
|
||||
KEY: ${{ secrets.SSH_KEY }}
|
||||
username: ${{ secrets.SS_USERNAME }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
script: yarn build-all
|
||||
|
||||
- name: Run
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
USERNAME: ${{ secrets.SS_USERNAME }}
|
||||
PORT: ${{ secrets.SSH_PORT }}
|
||||
KEY: ${{ secrets.SSH_KEY }}
|
||||
username: ${{ secrets.SS_USERNAME }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
script: yarn start
|
||||
Reference in New Issue
Block a user