tibi-docs/.gitea/workflows/deploy.yaml

26 lines
563 B
YAML

name: deploy to production
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
container:
image: alpine:edge
volumes:
- /data:/data
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- run: hostname
- run: pwd
- run: ls -la
- run: pkg install -y docker
- run: docker ps
- run: ls -la /data