diff --git a/.github/workflows/ghpage.yaml b/.github/workflows/ghpage.yaml new file mode 100644 index 0000000..dc963eb --- /dev/null +++ b/.github/workflows/ghpage.yaml @@ -0,0 +1,26 @@ +on: + push: + branches: + - main # Set a branch name to trigger deployment + pull_request: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: true + fetch-depth: 0 + + - name: Build + run: | + npm install + npm run build + + - name: Deploy + uses: peaceiris/actions-gh-pages@v4 + if: ${{ github.ref == 'refs/heads/main' }} + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./dist \ No newline at end of file diff --git a/index.html b/index.html index 085ccc3..0290f6a 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ - + @@ -16,8 +16,8 @@ - - + + diff --git a/nginx.conf b/nginx.conf index aaff4d0..d0b6da3 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,7 +1,7 @@ server { listen 80; listen [::]:80; - server_name www.grapycal.org; + server_name www.grapycal.com; location / { root /usr/share/nginx/html; index index.html index.htm; diff --git a/src/components/MainSections/MainSection.vue b/src/components/MainSections/MainSection.vue index b9eb735..f764f70 100644 --- a/src/components/MainSections/MainSection.vue +++ b/src/components/MainSections/MainSection.vue @@ -1,76 +1,49 @@