deploy fix typo
This commit is contained in:
parent
62136f5060
commit
b9fec5e7b4
@ -11,16 +11,20 @@ jobs:
|
|||||||
deploy-frontend:
|
deploy-frontend:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v3
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
working-directory: ./frontend
|
uses: actions/setup-node@v3
|
||||||
- name: building
|
working-directory: ./frontend
|
||||||
working-directory: ./frontend
|
- run: npm ci
|
||||||
run: npm run build
|
name: clean install
|
||||||
- name: pushing to the server
|
working-directory: ./frontend
|
||||||
working-directory: ./frontend
|
- name: building
|
||||||
run: |
|
working-directory: ./frontend
|
||||||
echo "${{ secrets.SSH_KEY }}" > key
|
run: npm run build
|
||||||
chmod 0600 key
|
- name: pushing to the server
|
||||||
scp -o "StrictHostKeyChecking=no" -o "LogLevel=ERROR" -i key -r dist/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:
|
working-directory: ./frontend
|
||||||
- run: echo "The website has been deployed. visit https://clyde.herisson.ovh/"
|
run: |
|
||||||
|
echo "${{ secrets.SSH_KEY }}" > key
|
||||||
|
chmod 0600 key
|
||||||
|
scp -o "StrictHostKeyChecking=no" -o "LogLevel=ERROR" -i key -r dist/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:
|
||||||
|
- run: echo "The website has been deployed. visit https://clyde.herisson.ovh/"
|
||||||
|
Loading…
Reference in New Issue
Block a user