Add .github/workflows/deploy.yml
All checks were successful
Deploy App / build (push) Successful in 21s
All checks were successful
Deploy App / build (push) Successful in 21s
This commit is contained in:
18
.github/workflows/deploy.yml
vendored
Normal file
18
.github/workflows/deploy.yml
vendored
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
name: Deploy App
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
container:
|
||||||
|
volumes:
|
||||||
|
- /var/docker-web:/var/docker-web
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: test ci
|
||||||
|
run: |
|
||||||
|
REPO_NAME="${GITHUB_REPOSITORY##*/}"
|
||||||
|
APP_DIR="/var/docker-web/apps/${REPO_NAME}"
|
||||||
|
BRANCH_NAME=${GITHUB_REF##*/}
|
||||||
|
|
||||||
|
echo $BRANCH_NAME
|
||||||
Reference in New Issue
Block a user