setup runner
All checks were successful
Redeploy landing on Push / Explore-Gitea-Actions (push) Successful in 7s
All checks were successful
Redeploy landing on Push / Explore-Gitea-Actions (push) Successful in 7s
This commit is contained in:
14
.gitea/workflows/deployment.yml
Normal file
14
.gitea/workflows/deployment.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
name: Redeploy landing on Push
|
||||
run-name: ${{ gitea.actor }} building image and redeploying container
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- run: docker build -t mysite .
|
||||
- run: echo "Building image"
|
||||
- run: docker compose up -d
|
||||
- run: echo "Redeployed site"
|
||||
Reference in New Issue
Block a user