mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +01:00
chore: comment the old version of the github action-workflow for deploy to VM
This commit is contained in:
parent
11e49c489b
commit
d60906976c
1 changed files with 29 additions and 29 deletions
58
.github/workflows/demoDeploy.yml
vendored
58
.github/workflows/demoDeploy.yml
vendored
|
|
@ -1,29 +1,29 @@
|
||||||
|
#
|
||||||
name: Deploy to demo
|
#name: (Obsolete) Deploy to demo (VM)
|
||||||
|
#
|
||||||
on:
|
#on:
|
||||||
push:
|
# push:
|
||||||
branches:
|
# branches:
|
||||||
- 'demo'
|
# - 'demo'
|
||||||
paths:
|
# paths:
|
||||||
- 'src/**'
|
# - 'src/**'
|
||||||
repository_dispatch:
|
# repository_dispatch:
|
||||||
types: deploy-to-demo
|
# types: deploy-to-demo
|
||||||
|
#
|
||||||
jobs:
|
#jobs:
|
||||||
build:
|
# build:
|
||||||
runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
steps:
|
# steps:
|
||||||
- name: Install SSH key
|
# - name: Install SSH key
|
||||||
uses: shimataro/ssh-key-action@v2
|
# uses: shimataro/ssh-key-action@v2
|
||||||
with:
|
# with:
|
||||||
key: ${{ secrets.SSH_KEY }}
|
# key: ${{ secrets.SSH_KEY }}
|
||||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
# known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||||
- name: Use Node.js 12.x
|
# - name: Use Node.js 12.x
|
||||||
uses: actions/setup-node@v1
|
# uses: actions/setup-node@v1
|
||||||
- uses: actions/checkout@v2
|
# - uses: actions/checkout@v2
|
||||||
with:
|
# with:
|
||||||
ref: demo
|
# ref: demo
|
||||||
- run: npm install
|
# - run: npm install
|
||||||
- run: npm run build:demo:prod
|
# - run: npm run build:demo:prod
|
||||||
- run: rsync -r --delete-after dist/. "${{ secrets.REMOTE_URL }}":"${{ secrets.ADDRESS }}"
|
# - run: rsync -r --delete-after dist/. "${{ secrets.REMOTE_URL }}":"${{ secrets.ADDRESS }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue