github: remove staging deploy

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-08-02 02:54:14 +05:30
parent 5f1f7b715e
commit e5fdcfcf9b
1 changed files with 0 additions and 14 deletions

View File

@ -18,20 +18,6 @@ jobs:
hugo-version: '0.73.0'
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
if: "!contains(github.event.head_commit.message, '[skip prod]')"
run: |