on: push: jobs: build_website: runs-on: docker container: image: git.hswro.org/hswro/hswro_org_build:latest 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 env: REGISTRY_OWNER: hswro container: image: git.hswro.org/hswro/hswro_org_build:latest steps: - uses: actions/checkout@v3 - uses: actions/download-artifact@v3 - run: cd generated-site && find && buildah build --file ../docker/serve.Dockerfile -t hswro-org:latest