Move domain
This commit is contained in:
parent
fc0108d7e8
commit
16d501458b
2 changed files with 1 additions and 28 deletions
2
.github/workflows/build-deploy-prod.yml
vendored
2
.github/workflows/build-deploy-prod.yml
vendored
|
@ -23,5 +23,5 @@ jobs:
|
||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
password: ${{ secrets.PASSWORD }}
|
password: ${{ secrets.PASSWORD }}
|
||||||
source: "_site"
|
source: "_site"
|
||||||
target: "/home/${{ secrets.USERNAME }}/erickruizdechavez.com"
|
target: "/home/${{ secrets.USERNAME }}/erch.co"
|
||||||
strip_components: 1
|
strip_components: 1
|
||||||
|
|
27
.github/workflows/build-deploy-staging.yml
vendored
27
.github/workflows/build-deploy-staging.yml
vendored
|
@ -1,27 +0,0 @@
|
||||||
name: Build and Deploy Staging Site
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- develop
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: setup node
|
|
||||||
uses: actions/setup-node@v1
|
|
||||||
with:
|
|
||||||
node-version: 14.x
|
|
||||||
- run: npm ci
|
|
||||||
- run: npm run build --if-present
|
|
||||||
- name: deploy site
|
|
||||||
uses: appleboy/scp-action@v0.1.1
|
|
||||||
with:
|
|
||||||
host: ${{ secrets.HOST }}
|
|
||||||
username: ${{ secrets.USERNAME }}
|
|
||||||
password: ${{ secrets.PASSWORD }}
|
|
||||||
source: "_site"
|
|
||||||
target: "/home/${{ secrets.USERNAME }}/beta.erickruizdechavez.com"
|
|
||||||
strip_components: 1
|
|
Loading…
Reference in a new issue