Use hardcoded action versions
This commit is contained in:
parent
bf96ed060f
commit
4d22c7d0af
2 changed files with 5 additions and 5 deletions
4
.github/workflows/test-env-cleanup.yml
vendored
4
.github/workflows/test-env-cleanup.yml
vendored
|
@ -10,7 +10,7 @@ jobs:
|
||||||
cleanup:
|
cleanup:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: rlespinasse/github-slug-action@master
|
- uses: rlespinasse/github-slug-action@2.0.0
|
||||||
- name: Set domain
|
- name: Set domain
|
||||||
# Set test instance domain based on branch name slug
|
# Set test instance domain based on branch name slug
|
||||||
run: |
|
run: |
|
||||||
|
@ -30,7 +30,7 @@ jobs:
|
||||||
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_TEST_CF_DIST_ID }} --paths "/${{ env.domain }}/*"
|
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_TEST_CF_DIST_ID }} --paths "/${{ env.domain }}/*"
|
||||||
|
|
||||||
- name: Mark deployment as deactivated
|
- name: Mark deployment as deactivated
|
||||||
uses: bobheadxi/deployments@master
|
uses: bobheadxi/deployments@v0.4.2
|
||||||
with:
|
with:
|
||||||
step: deactivate-env
|
step: deactivate-env
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
6
.github/workflows/test-env-deploy.yml
vendored
6
.github/workflows/test-env-deploy.yml
vendored
|
@ -14,10 +14,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- uses: rlespinasse/github-slug-action@master
|
- uses: rlespinasse/github-slug-action@2.0.0
|
||||||
|
|
||||||
- name: Start deployment
|
- name: Start deployment
|
||||||
uses: bobheadxi/deployments@master
|
uses: bobheadxi/deployments@v0.4.2
|
||||||
id: deployment
|
id: deployment
|
||||||
with:
|
with:
|
||||||
step: start
|
step: start
|
||||||
|
@ -76,7 +76,7 @@ jobs:
|
||||||
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_TEST_CF_DIST_ID }} --paths "/${{ env.domain }}/*"
|
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_TEST_CF_DIST_ID }} --paths "/${{ env.domain }}/*"
|
||||||
|
|
||||||
- name: Update deployment status
|
- name: Update deployment status
|
||||||
uses: bobheadxi/deployments@master
|
uses: bobheadxi/deployments@v0.4.2
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
step: finish
|
step: finish
|
||||||
|
|
Loading…
Reference in a new issue