mirror of
https://github.com/ivabus/www
synced 2024-11-26 04:25:07 +03:00
Update github actions versions
This commit is contained in:
parent
fcac48f62d
commit
68268636d8
1 changed files with 4 additions and 3 deletions
7
.github/workflows/cd.yml
vendored
7
.github/workflows/cd.yml
vendored
|
@ -15,14 +15,14 @@ jobs:
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
steps:
|
steps:
|
||||||
- name: Create Deployment
|
- name: Create Deployment
|
||||||
uses: bobheadxi/deployments@v0.6.2
|
uses: bobheadxi/deployments@v1
|
||||||
id: deployment
|
id: deployment
|
||||||
with:
|
with:
|
||||||
step: start
|
step: start
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
env: aws
|
env: aws
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
## means s3 sync will only sync things we need sync’d
|
## means s3 sync will only sync things we need sync’d
|
||||||
- uses: chetan/git-restore-mtime-action@v1
|
- uses: chetan/git-restore-mtime-action@v1
|
||||||
|
@ -53,10 +53,11 @@ jobs:
|
||||||
|
|
||||||
|
|
||||||
- name: Seal Deployment
|
- name: Seal Deployment
|
||||||
uses: bobheadxi/deployments@v0.6.2
|
uses: bobheadxi/deployments@v1
|
||||||
if: always()
|
if: always()
|
||||||
with:
|
with:
|
||||||
step: finish
|
step: finish
|
||||||
token: ${{ github.token }}
|
token: ${{ github.token }}
|
||||||
status: ${{ job.status }}
|
status: ${{ job.status }}
|
||||||
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
|
deployment_id: ${{ steps.deployment.outputs.deployment_id }}
|
||||||
|
env: ${{ steps.deployment.outputs.env }}
|
||||||
|
|
Loading…
Reference in a new issue