Update deploy.yml
This commit is contained in:
parent
1576a9e8c9
commit
0bb499e330
|
|
@ -19,7 +19,7 @@ jobs:
|
|||
npm run production
|
||||
|
||||
- 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: |
|
||||
echo ${{secrets.CONTAINER_NAME}} | sed 's/./& /g'
|
||||
|
|
@ -31,4 +31,4 @@ jobs:
|
|||
|
||||
- name: Run Docker container
|
||||
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