Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/delete content settings #2055

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
cancel:
runs-on: ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.9.1
with:
access_token: ${{ github.token }}

build:
environment: PRODUCTION
needs: cancel
runs-on: ubuntu-latest
steps:
- name: Deploy
if: github.ref == 'refs/heads/main'
uses: appleboy/ssh-action@v0.1.8
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
port: ${{ secrets.PORT }}
password: ${{ secrets.PASSWORD }}
script: |
echo "Stage 1: Go to git folder"
cd Reactive-Resume

echo "Stage 2: Checkout to branch main"
git checkout main

echo "Stage 3: Pull code from branch main"
git pull origin main

echo "Stage 4: Build app from Dockfile"
docker build -t app-resume .

echo "Stage 5: Stop and remove old container"
docker stop app-resume || true && docker rm app-resume || true

echo "Stage 6: Run app"
docker run -d --env-file ./.env -p 3000:3000 --network reactive-resume_default --restart unless-stopped --name app-resume app-resume

echo "Stage 7: Remove old images"
docker image prune -af

echo "Done!"
51 changes: 0 additions & 51 deletions .github/workflows/lint-test-build.yml

This file was deleted.

163 changes: 0 additions & 163 deletions .github/workflows/publish-docker-image.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/sync-crowdin-translations.yml

This file was deleted.

4 changes: 2 additions & 2 deletions apps/artboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<base href="/" />

<!-- SEO -->
<title>Reactive Resume - A free and open-source resume builder</title>
<title>Reactive Resume - Talent Resume</title>
<meta
name="description"
content="A free and open-source resume builder that simplifies the process of creating, updating, and sharing your resume."
content="A free resume builder that simplifies the process of creating, updating, and sharing your resume."
/>

<!-- Meta -->
Expand Down
4 changes: 2 additions & 2 deletions apps/client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
<base href="/" />

<!-- SEO -->
<title>Reactive Resume - A free and open-source resume builder</title>
<title>Reactive Resume - Talent Resume</title>
<meta
name="description"
content="A free and open-source resume builder that simplifies the process of creating, updating, and sharing your resume."
content="A free resume builder that simplifies the process of creating, updating, and sharing your resume."
/>

<!-- Meta -->
Expand Down
32 changes: 25 additions & 7 deletions apps/client/public/icon/dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading