parent
da0184a89c
commit
d1e776b3f8
1 changed files with 6 additions and 6 deletions
|
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: native
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build and deploy
|
- name: Build and deploy
|
||||||
run: |
|
run: |
|
||||||
sudo podman build -t hugo-home:latest .
|
podman build -t hugo-home:latest .
|
||||||
sudo podman stop hugo-home 2>/dev/null || true
|
podman stop hugo-home 2>/dev/null || true
|
||||||
sudo podman rm hugo-home 2>/dev/null || true
|
podman rm hugo-home 2>/dev/null || true
|
||||||
sudo podman run -d --name hugo-home --restart=always -p 127.0.0.1:8080:8080 hugo-home:latest
|
podman run -d --name hugo-home --restart=always -p 127.0.0.1:8080:8080 hugo-home:latest
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue