alpha
Login
or
Join now
andri.dk
/
jamstack-example
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/andrioid/jamstack-example. https://andri.dk/blog/2021/deploy-static-websites-anywhere
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
try to let pack do it all
author
Andri Oskarsson
date
5 years ago
(Apr 27, 2021, 4:40 PM +0200)
commit
a900b4e0
a900b4e012756d2b372e62c07070888f310a4953
parent
51e8e66b
51e8e66be9680e65de442ec3d923e2941f676511
+1
-2
1 changed file
Expand all
Collapse all
Unified
Split
.github
workflows
deploy-anywhere.yaml
+1
-2
.github/workflows/deploy-anywhere.yaml
View file
Reviewed
···
27
27
- run: pack build ghcr.io/${GITHUB_REPOSITORY}/${IMG_NAME} --builder=heroku/buildpacks:20 --publish --cache-image=ghcr.io/${GITHUB_REPOSITORY}/${IMG_NAME}
28
28
# Pushes your new image to Github's Container Registry
29
29
#- run: docker push ghcr.io/${GITHUB_REPOSITORY}/${IMG_NAME}
30
30
-
- run: CONTAINER_ID=$(docker create ghcr.io/${GITHUB_REPOSITORY}/${IMG_NAME} /bin/sh)
31
31
-
- run: docker cp $CONTAINER_ID:/workspace/public .
30
30
+
- run: CONTAINER_ID=$(docker create ghcr.io/${GITHUB_REPOSITORY}/${IMG_NAME} /bin/sh) && docker cp ${CONTAINER_ID}:/workspace/public .
32
31
- run: ls -alh
33
32
# deploy:
34
33
# needs: remote-build