Update deploy.yml
Some checks failed
Deploy website to Docker Container / deploy (push) Failing after 40s
Some checks failed
Deploy website to Docker Container / deploy (push) Failing after 40s
This commit is contained in:
parent
1576a9e8c9
commit
0bb499e330
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
npm run production
|
npm run production
|
||||||
|
|
||||||
- name: Build Docker image
|
- name: Build Docker image
|
||||||
run: docker build -t ${{ secret.CONTAINER_IMAGE }} --build-arg SITE_DIRECTORY=dist .
|
run: docker build -t thethomaas/11ty-workflow-example:latest --build-arg SITE_DIRECTORY=dist .
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
echo ${{secrets.CONTAINER_NAME}} | sed 's/./& /g'
|
echo ${{secrets.CONTAINER_NAME}} | sed 's/./& /g'
|
||||||
|
|
@ -31,4 +31,4 @@ jobs:
|
||||||
|
|
||||||
- name: Run Docker container
|
- name: Run Docker container
|
||||||
run: |
|
run: |
|
||||||
docker run -d -p 8086:3000 --name dev ${{ secret.CONTAINER_IMAGE }} --restart unless-stopped
|
docker run -d -p 8086:3000 --name dev thethomaas/11ty-workflow-example:latest --restart unless-stopped
|
||||||
Loading…
Reference in a new issue