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

26 lines
575 B
YAML
Raw Normal View History

2023-03-21 15:06:09 +01:00
name: deploy to production
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
2023-03-21 15:42:10 +01:00
container:
image: alpine:edge
volumes:
- /data:/data
2023-03-21 15:06:09 +01:00
steps:
2023-03-21 15:44:06 +01:00
# - uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - run: git fetch --force --tags
2023-03-21 15:25:35 +01:00
- run: hostname
- run: pwd
2023-03-21 15:06:09 +01:00
- run: ls -la
2023-03-21 15:46:00 +01:00
- run: apk add --no-cache docker
2023-03-21 15:42:10 +01:00
- run: docker ps
- run: ls -la /data