-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove docker image building and ssg-html-builder-action
- Loading branch information
Showing
6 changed files
with
5 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
container: | ||
image: ghcr.io/atas/ssg-builder:202310131336 | ||
image: ghcr.io/atas/ssg-builder:202310141833 | ||
|
||
steps: | ||
- name: Checkout repository | ||
|
@@ -45,7 +45,7 @@ jobs: | |
run: composer install --prefer-dist --no-progress | ||
|
||
- name: Run Ata's SSG HTML Builder | ||
uses: atas/[email protected] | ||
uses: atas/ssg-html-builder-action@2.1 | ||
with: | ||
less_file_path: 'assets/styles/style.less' | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,5 @@ | ||
|
||
# You would only need to use these if you want to build your own custom builder image. | ||
# Otherwise, by default the workflow uses the pre-built image from ghcr.io/atas/ssg-builder:latest | ||
|
||
.PHONY: build-local-image update-workflow-image run-local-image | ||
|
||
build-local-image: | ||
docker build system/workflow-image -t atas-ssg-builder:latest | ||
|
||
run-local-image: | ||
docker run --rm -it -v $(shell pwd):/workspace atas-ssg-builder:latest | ||
.PHONY: dev-server | ||
|
||
dev-server: | ||
docker run --rm -it --entrypoint /workspace/system/bin/dev-server-entrypoint.sh -p 8001:80 \ | ||
-v $(shell pwd):/workspace atas-ssg-builder:latest | ||
|
||
# Updates the GHCR:latest image | ||
update-workflow-image: | ||
docker login ghcr.io | ||
docker buildx build --platform linux/amd64 system/workflow-image -t ghcr.io/atas/ssg-builder:latest | ||
docker push ghcr.io/atas/ssg-builder:latest | ||
|
||
# Creates a new tag for GHCR:latest image with the current date and time | ||
tag-workflow-image: | ||
docker tag ghcr.io/atas/ssg-builder:latest ghcr.io/atas/ssg-builder:$(shell date +%Y%m%d%H%M) | ||
docker push ghcr.io/atas/ssg-builder:$(shell date +%Y%m%d%H%M) | ||
|
||
docker run --rm -it --entrypoint /dev-server-entrypoint.sh -p 8001:80 \ | ||
-v $(shell pwd):/workspace ghcr.io/atas/ssg-builder:latest |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.