diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index a75d812..25d3d09 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -18,6 +18,6 @@ jobs: key: ${{ secrets.SSH_KEY }} script: | cd ${{ github.event.repository.name }} && - git checkout -f master && - git pull -f && + git fetch && + git checkout -f origin/master && make diff --git a/Dockerfile b/Dockerfile index 6f1b5b1..0bfbe33 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,4 +4,4 @@ WORKDIR /orbit COPY . . RUN yarn install RUN yarn build -CMD ["serve", "dist"] +EXPOSE 6090 diff --git a/docker-compose.yml b/docker-compose.yml index 363a8f9..2b186b5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,3 +23,9 @@ services: - "dist" - "-p" - "6090" + networks: + - traefik_default + +networks: + traefik_default: + external: true