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

Commit 9b9d078

Browse files
committed
ci: try this
1 parent ea944e5 commit 9b9d078

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

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

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,11 @@ jobs:
4141
labels: ${{ steps.meta.outputs.labels }}
4242
platforms: linux/amd64,linux/arm64
4343

44-
- name: Pull Docker image
45-
run: docker pull mathiasvda/yasgui
46-
47-
- name: Run Docker container
48-
run: docker run --rm -v ${{ github.workspace }}:/workspace -w /workspace mathiasvda/yasgui /bin/sh -c "echo $GITHUB_WORKSPACE && mkdir public && cp -r /usr/share/nginx/html/* public"
49-
50-
- name: Upload to GitHub Pages
51-
uses: peaceiris/actions-gh-pages@v3
44+
deploy-pages:
45+
runs-on: mathiasvda/yasgui
46+
steps:
47+
- name: Upload static files as artifact
48+
id: deployment
49+
uses: actions/upload-pages-artifact@v3 # or specific "vX.X.X" version tag for this action
5250
with:
53-
github_token: ${{ secrets.GITHUB_TOKEN }}
54-
publish_dir: ./public
51+
path: /usr/share/nginx/html/*

0 commit comments

Comments
 (0)