Skip to content

Commit

Permalink
Merge pull request #519 from simrobin/remove_deploy_with_docker
Browse files Browse the repository at this point in the history
chore(ci): remove docker deploy
  • Loading branch information
simrobin committed Apr 3, 2023
2 parents d9af45a + d3b3a58 commit 48ce13a
Show file tree
Hide file tree
Showing 7 changed files with 777 additions and 1,055 deletions.
2 changes: 0 additions & 2 deletions .dockerignore

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/main.yml
Expand Up @@ -6,7 +6,6 @@ on: [push]

env:
NODE_VERSION: '18.x'
DOCKER_IMAGE_NAME: ${{ secrets.DOCKER_USER }}/about

jobs:
continuous_integration:
Expand Down Expand Up @@ -37,20 +36,3 @@ jobs:

- name: Build app
run: pnpm run build

- name: Package app with Docker
if: github.ref == 'refs/heads/main'
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PASS: ${{ secrets.DOCKER_PASS }}
run: |
pnpm run export
docker build -t ${DOCKER_IMAGE_NAME} .
echo ${DOCKER_PASS} | docker login -u ${DOCKER_USER} --password-stdin
docker push ${DOCKER_IMAGE_NAME}
- name: Deploy app
if: github.ref == 'refs/heads/main'
env:
DEPLOY_URL: ${{ secrets.DEPLOY_URL }}
DEPLOY_CREDENTIALS: ${{ secrets.DEPLOY_CREDENTIALS }}
run: bash script/deploy about "@docker-compose.yml"
3 changes: 0 additions & 3 deletions Dockerfile

This file was deleted.

33 changes: 0 additions & 33 deletions docker-compose.yml

This file was deleted.

1 comment on commit 48ce13a

@vercel
Copy link

@vercel vercel bot commented on 48ce13a Apr 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.