feat(src/): add border to header and footer #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Ubuntu Server | |
on: [push] | |
jobs: | |
build: | |
runs-on: self-hosted | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generate .env file | |
uses: SpicyPizza/[email protected] | |
with: | |
envkey_VITE_API_URL: ${{ secrets.VITE_API_URL }} | |
- name: Build Docker images | |
run: | | |
docker build . -t overal-x:${{ github.sha }} | |
run: | |
runs-on: self-hosted | |
needs: | |
- build | |
steps: | |
- name: remove old container | |
run: | | |
docker rm --force overal-x | |
- name: run new container | |
run: | | |
docker run -d --restart unless-stopped --name overal-x -p 6100:3000 overal-x:${{ github.sha }} |