From 47d7a5cef1ddf9e498abf82750dd7830e6c32cfd Mon Sep 17 00:00:00 2001 From: Camilo Cunha de Azevedo Date: Mon, 7 Oct 2024 18:48:33 -0300 Subject: [PATCH] Fix the string on Home --- .github/workflows/deploy.yml | 10 ++++------ src/Home.mlx | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1369837..6759a2a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -3,13 +3,13 @@ name: Deploy OCaml BR to GitHub Pages on: push: branches: [ "main" ] - pull_request: - branches: [ "main" ] jobs: build-and-deploy: runs-on: ubuntu-latest - + permissions: + contents: write + steps: - uses: actions/checkout@v3 @@ -24,8 +24,7 @@ jobs: node-version: '18' - name: Install dependencies - run: | - npm run install-opam-npm + run: npm run install-opam-npm - name: Build project run: | @@ -34,7 +33,6 @@ jobs: - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 - if: github.ref == 'refs/heads/main' with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./dist diff --git a/src/Home.mlx b/src/Home.mlx index dd6cf91..2444edf 100644 --- a/src/Home.mlx +++ b/src/Home.mlx @@ -16,7 +16,7 @@ module Home = struct OCaml BR Logo

(React.string "OCaml Brasil")

(React.string {js|Bem-vindo à Comunidade Brasileira de OCaml! Aqui, programadores apaixonados por OCaml se reúnem para compartilhar conhecimento, construir projetos inovadores e promover o uso dessa poderosa linguagem de programação no Brasil.|js})

- + (React.string "Aprenda OCaml")