TEST COMMIT FOR CI
This commit is contained in:
parent
57f1931135
commit
4d117fbabb
|
|
@ -8,13 +8,15 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: bundle exec jekyll build
|
||||
- run: cd _site/ && find
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
compression-level: 9
|
||||
include-hidden-files: true
|
||||
name: generated-site
|
||||
path: _site/
|
||||
build_and_push_container:
|
||||
runs-on: docker
|
||||
if: github.ref == 'refs/heads/main'
|
||||
env:
|
||||
REGISTRY_OWNER: hswro
|
||||
container:
|
||||
|
|
@ -22,5 +24,4 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/download-artifact@v3
|
||||
- run: cd generated-site && buildah build --file ../docker/serve.Dockerfile -t hswro-org:latest
|
||||
- run: buildah push --creds ${REGISTRY_OWNER}:${{ secrets.PUSH_PACKAGES_KEY }} hswro-org:latest "docker://git.hswro.org/${REGISTRY_OWNER}/hswro_org:latest"
|
||||
- run: cd generated-site && find && buildah build --file ../docker/serve.Dockerfile -t hswro-org:latest
|
||||
|
|
|
|||
Loading…
Reference in New Issue