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:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: rlespinasse/github-slug-action@master
|
||||
- uses: rlespinasse/github-slug-action@2.0.0
|
||||
- name: Set domain
|
||||
# Set test instance domain based on branch name slug
|
||||
run: |
|
||||
|
@ -30,7 +30,7 @@ jobs:
|
|||
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_TEST_CF_DIST_ID }} --paths "/${{ env.domain }}/*"
|
||||
|
||||
- name: Mark deployment as deactivated
|
||||
uses: bobheadxi/deployments@master
|
||||
uses: bobheadxi/deployments@v0.4.2
|
||||
with:
|
||||
step: deactivate-env
|
||||
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:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: rlespinasse/github-slug-action@master
|
||||
- uses: rlespinasse/github-slug-action@2.0.0
|
||||
|
||||
- name: Start deployment
|
||||
uses: bobheadxi/deployments@master
|
||||
uses: bobheadxi/deployments@v0.4.2
|
||||
id: deployment
|
||||
with:
|
||||
step: start
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
|||
run: aws cloudfront create-invalidation --distribution-id ${{ secrets.AWS_TEST_CF_DIST_ID }} --paths "/${{ env.domain }}/*"
|
||||
|
||||
- name: Update deployment status
|
||||
uses: bobheadxi/deployments@master
|
||||
uses: bobheadxi/deployments@v0.4.2
|
||||
if: always()
|
||||
with:
|
||||
step: finish
|
||||
|
|
Loading…
Reference in a new issue