Skip to content
Merged

Dev #44

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/build-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,27 @@ jobs:

- name: Checkout
if: ${{ steps.check_state.outputs.initial_deploy_state == 'disabled_manually' }}
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
ref: ${{ steps.setvars.outputs.environment }}

- name: Get next version
uses: reecetech/version-increment@2023.9.3
uses: reecetech/version-increment@a29aa752dc3b8118a2dc2ed93faf0e95a73a9c7e
if: ${{ steps.check_state.outputs.initial_deploy_state == 'disabled_manually' }}
id: version
with:
scheme: calver
increment: patch

- name: Create Release branch
uses: JamesIves/github-pages-deploy-action@v4
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f
if: ${{ steps.check_state.outputs.initial_deploy_state == 'disabled_manually' }}
with:
branch: release-${{ steps.setvars.outputs.environment }} # The branch the action should deploy to.
folder: . # The folder the action should deploy.

- name: Checkout Release branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
if: ${{ steps.check_state.outputs.initial_deploy_state == 'disabled_manually' }}
with:
ref: release-${{ steps.setvars.outputs.environment }}
Expand All @@ -80,7 +80,7 @@ jobs:
git push

- name: Create release
uses: "actions/github-script@v6"
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
if: ${{ steps.check_state.outputs.initial_deploy_state == 'disabled_manually' }}
env:
VERSION: ${{ steps.version.outputs.version }}
Expand Down Expand Up @@ -160,15 +160,15 @@ jobs:
--data @payload.json \
https://app.terraform.io/api/v2/vars

- uses: hashicorp/tfc-workflows-github/actions/upload-configuration@v1.1.1
- uses: hashicorp/tfc-workflows-github/actions/upload-configuration@8e08d1ba957673f5fbf971a22b3219639dc45661
id: upload
if: ${{ steps.check_state.outputs.initial_deploy_state == 'disabled_manually' }}
with:
workspace: ${{ github.event.repository.name }}-${{ steps.setvars.outputs.environment }}
directory: release

- name: Create Apply Run
uses: hashicorp/tfc-workflows-github/actions/create-run@v1.1.1
uses: hashicorp/tfc-workflows-github/actions/create-run@8e08d1ba957673f5fbf971a22b3219639dc45661
id: apply-run
if: ${{ steps.check_state.outputs.initial_deploy_state == 'disabled_manually' }}
with:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/initial-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,23 +15,23 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Get next version
uses: reecetech/version-increment@2023.9.3
uses: reecetech/version-increment@a29aa752dc3b8118a2dc2ed93faf0e95a73a9c7e
id: version
with:
scheme: calver
increment: patch

- name: Create Release branch
uses: JamesIves/github-pages-deploy-action@v4
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f
with:
branch: release # The branch the action should deploy to.
folder: . # The folder the action should deploy.

- name: Checkout Release branch
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
with:
ref: release
path: release
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
https://app.terraform.io/api/v2/vars

- name: Create release
uses: "actions/github-script@v6"
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd
env:
VERSION: ${{ steps.version.outputs.version }}
with:
Expand All @@ -305,20 +305,20 @@ jobs:
core.setFailed(error.message);
}

- uses: hashicorp/tfc-workflows-github/actions/upload-configuration@v1.1.1
- uses: hashicorp/tfc-workflows-github/actions/upload-configuration@8e08d1ba957673f5fbf971a22b3219639dc45661
id: upload_dev
with:
workspace: ${{ github.event.repository.name }}-dev
directory: release

- uses: hashicorp/tfc-workflows-github/actions/upload-configuration@v1.1.1
- uses: hashicorp/tfc-workflows-github/actions/upload-configuration@8e08d1ba957673f5fbf971a22b3219639dc45661
id: upload_prod
with:
workspace: ${{ github.event.repository.name }}-prod
directory: release

- name: Create Apply Run dev
uses: hashicorp/tfc-workflows-github/actions/create-run@v1.1.1
uses: hashicorp/tfc-workflows-github/actions/create-run@8e08d1ba957673f5fbf971a22b3219639dc45661
id: apply-run-dev
if: success() || failure()
with:
Expand All @@ -327,7 +327,7 @@ jobs:
plan_only: false

- name: Create Apply Run prod
uses: hashicorp/tfc-workflows-github/actions/create-run@v1.1.1
uses: hashicorp/tfc-workflows-github/actions/create-run@8e08d1ba957673f5fbf971a22b3219639dc45661
id: apply-run-prod
if: success() || failure()
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# pulse-graphql
GraphQL project repo
GraphQL project repo
Loading