Updated example
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: eighty-six/node-deploy-action/deploy@v1
|
- uses: https://git.zyrrus.dev/eighty-six/node-deploy-action/deploy@v1
|
||||||
with:
|
with:
|
||||||
app-name: ${{ vars.APP_NAME }}
|
app-name: ${{ vars.APP_NAME }}
|
||||||
tag: production
|
tag: production
|
||||||
@@ -36,11 +36,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Compute preview slug
|
- name: Compute preview slug
|
||||||
id: slug
|
id: slug
|
||||||
uses: eighty-six/node-deploy-action/slug@v1
|
uses: https://git.zyrrus.dev/eighty-six/node-deploy-action/slug@v1
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.ref_name }}
|
branch: ${{ github.ref_name }}
|
||||||
|
|
||||||
- uses: eighty-six/node-deploy-action/deploy@v1
|
- uses: https://git.zyrrus.dev/eighty-six/node-deploy-action/deploy@v1
|
||||||
with:
|
with:
|
||||||
app-name: ${{ vars.APP_NAME }}
|
app-name: ${{ vars.APP_NAME }}
|
||||||
tag: ${{ steps.slug.outputs.slug }}
|
tag: ${{ steps.slug.outputs.slug }}
|
||||||
@@ -54,7 +54,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Compute preview slug
|
- name: Compute preview slug
|
||||||
id: slug
|
id: slug
|
||||||
uses: eighty-six/node-deploy-action/slug@v1
|
uses: https://git.zyrrus.dev/eighty-six/node-deploy-action/slug@v1
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.event.ref }}
|
branch: ${{ github.event.ref }}
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: main
|
ref: main
|
||||||
|
|
||||||
- uses: eighty-six/node-deploy-action/cleanup@v1
|
- uses: https://git.zyrrus.dev/eighty-six/node-deploy-action/cleanup@v1
|
||||||
with:
|
with:
|
||||||
app-name: ${{ vars.APP_NAME }}
|
app-name: ${{ vars.APP_NAME }}
|
||||||
slug: ${{ steps.slug.outputs.slug }}
|
slug: ${{ steps.slug.outputs.slug }}
|
||||||
|
|||||||
Reference in New Issue
Block a user