Skip to content

Commit

Permalink
Deploy dev when deploying prod
Browse files Browse the repository at this point in the history
  • Loading branch information
loganmarchione committed Sep 20, 2023
1 parent f4933db commit 12580f3
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@ on:
workflow_dispatch:

env:
URL_DEV: loganmarchione.github.io
URL_PRD: loganmarchione.com

jobs:
# deploy-development:
# uses: ./.github/workflows/development.yml
# secrets: inherit
deploy-development:
uses: ./.github/workflows/development.yml
secrets: inherit

deploy-production:
name: Deploy (loganmarchione.com)

# needs: deploy-development
needs: deploy-development
runs-on: ubuntu-latest

steps:
Expand All @@ -30,7 +29,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version: '1.20'

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
Expand Down

0 comments on commit 12580f3

Please sign in to comment.