[READ-ONLY] Mirror of https://github.com/andrioid/jamstack-example. https://andri.dk/blog/2021/deploy-static-websites-anywhere
0

Configure Feed

Select the types of activity you want to include in your feed.

try to let pack do it all

+1 -2
+1 -2
.github/workflows/deploy-anywhere.yaml
··· 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 - - run: CONTAINER_ID=$(docker create ghcr.io/${GITHUB_REPOSITORY}/${IMG_NAME} /bin/sh) 31 - - run: docker cp $CONTAINER_ID:/workspace/public . 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