Skip to content
This repository was archived by the owner on Dec 7, 2025. It is now read-only.

Commit d689262

Browse files
authored
Add github pages workflow (#1)
1 parent 9b9d078 commit d689262

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/build-and-push.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- ci
78
release:
89
types: [published]
910

@@ -41,11 +42,15 @@ jobs:
4142
labels: ${{ steps.meta.outputs.labels }}
4243
platforms: linux/amd64,linux/arm64
4344

44-
deploy-pages:
45-
runs-on: mathiasvda/yasgui
46-
steps:
45+
- uses: shrink/actions-docker-extract@v3
46+
id: extract
47+
with:
48+
image: ${{ vars.DOCKERHUB_REPO }}
49+
path: /usr/share/nginx/html/.
50+
destination: dist
51+
4752
- name: Upload static files as artifact
4853
id: deployment
49-
uses: actions/upload-pages-artifact@v3 # or specific "vX.X.X" version tag for this action
54+
uses: actions/upload-pages-artifact@v3
5055
with:
51-
path: /usr/share/nginx/html/*
56+
path: dist

0 commit comments

Comments
 (0)