Files
files/.github/workflows/deploy.yml
valere a42b8a4765
All checks were successful
Deploy App / deploy (push) Successful in 31s
update for new dweb
2025-10-30 16:36:33 +01:00

22 lines
562 B
YAML

name: Deploy App
on: [push]
jobs:
deploy:
runs-on: ubuntu-22.04
container:
volumes:
- /var/docker-web:/var/docker-web
steps:
- uses: actions/checkout@v4
- name: install
run: |
APP_DIR=/var/docker-web/store/apps/${GITHUB_REPOSITORY##*/}
mkdir -p $APP_DIR
cp -a $(find . -mindepth 1 -maxdepth 1 ! -name '.git' ! -name 'node_modules') "$APP_DIR/"
- name: up
run: |
export COMPOSE_BAKE=false
bash /var/docker-web/src/cli.sh up ${GITHUB_REPOSITORY##*/}