mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
github: remove staging deploy
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
5f1f7b715e
commit
e5fdcfcf9b
14
.github/workflows/deploy.yml
vendored
14
.github/workflows/deploy.yml
vendored
|
@ -18,20 +18,6 @@ jobs:
|
||||||
hugo-version: '0.73.0'
|
hugo-version: '0.73.0'
|
||||||
extended: true
|
extended: true
|
||||||
|
|
||||||
- name: Build staging
|
|
||||||
if: "!contains(github.event.head_commit.message, '[skip staging]')"
|
|
||||||
run: hugo --minify -DEFb=https://staging.msfjarvis.dev/
|
|
||||||
|
|
||||||
- name: Deploy to staging
|
|
||||||
if: "!contains(github.event.head_commit.message, '[skip staging]')"
|
|
||||||
run: source $GITHUB_WORKSPACE/ci/deploy.sh
|
|
||||||
env:
|
|
||||||
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
|
|
||||||
SSH_USERNAME: ${{ secrets.SSH_USERNAME }}
|
|
||||||
SERVER_ADDRESS: ${{ secrets.SERVER_ADDRESS }}
|
|
||||||
SERVER_DESTINATION: ${{ secrets.SERVER_DESTINATION_STAGING }}
|
|
||||||
SSH_PORT: ${{ secrets.SSH_PORT }}
|
|
||||||
|
|
||||||
- name: Build prod
|
- name: Build prod
|
||||||
if: "!contains(github.event.head_commit.message, '[skip prod]')"
|
if: "!contains(github.event.head_commit.message, '[skip prod]')"
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user